aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-ifcombine.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2019-10-02 16:01:42 -0400
committerJason Merrill <jason@gcc.gnu.org>2019-10-02 16:01:42 -0400
commitb830c28b56fdc3f4b4555200278218b4b49022d2 (patch)
treee8b1d17708df837d5cc016be4106d15e520beff0 /gcc/tree-ssa-ifcombine.c
parentc89844e5d30a5235960a2c627abc9369306fda61 (diff)
downloadgcc-b830c28b56fdc3f4b4555200278218b4b49022d2.zip
gcc-b830c28b56fdc3f4b4555200278218b4b49022d2.tar.gz
gcc-b830c28b56fdc3f4b4555200278218b4b49022d2.tar.bz2
Improve C++ fold caching efficiency.
While looking at concepts caching I noticed that we were clearing the caches unnecessarily for non-constant initialization, which shouldn't affect folding. * typeck2.c (store_init_value): Only clear_cv_and_fold_caches if the value is constant. From-SVN: r276487
Diffstat (limited to 'gcc/tree-ssa-ifcombine.c')
0 files changed, 0 insertions, 0 deletions