aboutsummaryrefslogtreecommitdiff
path: root/gcc/btfout.cc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2023-12-19 10:51:06 +0100
committerRichard Biener <rguenther@suse.de>2023-12-19 13:31:30 +0100
commitafd49e663258061a10f0f2c4a8f8aa2bf97bee42 (patch)
treef8c33d05c9feb6796c1c7c54b463b5492a84eac1 /gcc/btfout.cc
parentaa2a48984c3d8c7a6a6da10d924e030b141b44cd (diff)
downloadgcc-afd49e663258061a10f0f2c4a8f8aa2bf97bee42.zip
gcc-afd49e663258061a10f0f2c4a8f8aa2bf97bee42.tar.gz
gcc-afd49e663258061a10f0f2c4a8f8aa2bf97bee42.tar.bz2
tree-optimization/113080 - missing final value replacement
When performing final value replacement we guard against exponential (temporary) code growth due to unsharing of trees (SCEV heavily relies on tree sharing). The following relaxes this a tiny bit to cover some more optimizations and puts in comments as to what the real fix would be. PR tree-optimization/113080 * tree-scalar-evolution.cc (expression_expensive_p): Allow a tiny bit of growth due to expansion of shared trees. (final_value_replacement_loop): Add comment. * gcc.dg/tree-ssa/sccp-3.c: New testcase.
Diffstat (limited to 'gcc/btfout.cc')
0 files changed, 0 insertions, 0 deletions