aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2022-01-18 13:48:34 +0100
committerRichard Biener <rguenther@suse.de>2022-01-18 15:43:04 +0100
commitc952126870c92cf293d59ffb1497e402eb8fc269 (patch)
tree83ef891500bdd07ebeef4f75edc508bd82874ee1 /gcc/tree-vectorizer.h
parente89b2a270d31d7298d516ae545e256645992c7b9 (diff)
downloadgcc-c952126870c92cf293d59ffb1497e402eb8fc269.zip
gcc-c952126870c92cf293d59ffb1497e402eb8fc269.tar.gz
gcc-c952126870c92cf293d59ffb1497e402eb8fc269.tar.bz2
ipa/103989 - avoid IPA inlining of small functions with -Og
The following change avoids doing IPA inlining of small functions into functions compiled with -Og - those functions will see almost no followup scalar cleanups so that the benefit anticipated by the inliner will not be realized and instead the late diagnostic code will be confused by dead code that is left around. 2022-01-18 Richard Biener <rguenther@suse.de> PR ipa/103989 * ipa-inline.cc (inline_small_functions): Do not enqueue call edges originating in functions compiled with -Og. * g++.dg/opt/pr103989.C: New testcase.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions