re PR middle-end/84233 (ICE (segfault) in gimple_assign_rhs_code)
authorRichard Biener <rguenther@suse.de>
Thu, 8 Feb 2018 13:29:15 +0000 (13:29 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 8 Feb 2018 13:29:15 +0000 (13:29 +0000)
commit24db2556253540529a7b11ed42683b2ea9bb8989
treec5f4c37badfc0bb93dd13c20c4b36192bb6013a5
parent3d2249215e948493d5aa7ad1aaaa9d9de73207c6
re PR middle-end/84233 (ICE (segfault) in gimple_assign_rhs_code)

2018-02-08  Richard Biener  <rguenther@suse.de>

PR tree-optimization/84233
* tree-ssa-phiprop.c (propagate_with_phi): Use separate
changed flag instead of boguously re-using phi_inserted.

* g++.dg/torture/pr84233.C: New testcase.

From-SVN: r257486
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr84233.C [new file with mode: 0644]
gcc/tree-ssa-phiprop.c