aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorSergei Trofimovich <siarheit@google.com>2021-01-11 18:05:57 +0000
committerSergei Trofimovich <siarheit@google.com>2021-02-01 18:13:42 +0000
commit11056ab7687f7156846e93557c9171b77713bd7e (patch)
tree5f6dd9686df74d079fbd0f61f6fb795a4e9d7122 /gcc/expr.c
parent8bfdf51d8595537937f990947a7a36d3a63dca5f (diff)
downloadgcc-11056ab7687f7156846e93557c9171b77713bd7e.zip
gcc-11056ab7687f7156846e93557c9171b77713bd7e.tar.gz
gcc-11056ab7687f7156846e93557c9171b77713bd7e.tar.bz2
tree-optimization/98499 - fix modref analysis on RVO statements
Before the change RVO gimple statements were treated as local stores by modres analysis. But in practice RVO escapes target. 2021-02-01 Sergei Trofimovich <siarheit@google.com> gcc/ChangeLog: PR tree-optimization/98499 * ipa-modref.c (analyze_ssa_name_flags): treat RVO conservatively and assume all possible side-effects. gcc/testsuite/ChangeLog: PR tree-optimization/98499 * g++.dg/pr98499.C: new test.
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions