diff options
author | Richard Biener <rguenther@suse.de> | 2017-09-04 10:57:20 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2017-09-04 10:57:20 +0000 |
commit | e910a9b11a04d37e2a9a92dd2bc39097728f132c (patch) | |
tree | 62faaa2c367d615fe11ff6549f77195a57cf015e /gcc/tree-outof-ssa.c | |
parent | 76b0cbf8b639a5cc574c199993a158586aae8225 (diff) | |
download | gcc-e910a9b11a04d37e2a9a92dd2bc39097728f132c.zip gcc-e910a9b11a04d37e2a9a92dd2bc39097728f132c.tar.gz gcc-e910a9b11a04d37e2a9a92dd2bc39097728f132c.tar.bz2 |
re PR tree-optimization/82060 (ICE in refs_may_alias_p_1 with devirtualization enabled)
2017-09-04 Richard Biener <rguenther@suse.de>
PR tree-optimization/82060
* tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
Move devirtualization after stmt folding and before EH/AB/noreturn
cleanup to get the stmt refs canonicalized. Use a bool instead
of gimple_modified_p since that doesn't work for NOPs. Schedule
NOPs generated by folding for removal.
* g++.dg/torture/pr82060.C: New testcase.
From-SVN: r251650
Diffstat (limited to 'gcc/tree-outof-ssa.c')
0 files changed, 0 insertions, 0 deletions