re PR tree-optimization/82276 (-O2: ICE: SSA corruption during RTL pass: expand;...
authorRichard Biener <rguenther@suse.de>
Thu, 21 Sep 2017 12:12:33 +0000 (12:12 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 21 Sep 2017 12:12:33 +0000 (12:12 +0000)
commitc94f2d84e51b39f4f90c3cb3bf3c0d056080bc57
treeeb449792b6cc53791f82ab644d4f35d2a588e077
parent817221cc87b78034dd750f6dc94ab336d7e802be
re PR tree-optimization/82276 (-O2: ICE: SSA corruption during RTL pass: expand; at tree-ssa-coalesce.c:1010)

2017-09-21  Richard Biener  <rguenther@suse.de>

PR tree-optimization/82276
PR tree-optimization/82244
* tree-vrp.c (build_assert_expr_for): Set
SSA_NAME_OCCURS_IN_ABNORMAL_PHI if the variable we assert on
has it set.
(remove_range_assertions): Revert earlier change.

* gcc.dg/torture/pr82276.c: New testcase.

From-SVN: r253062
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr82276.c [new file with mode: 0644]
gcc/tree-vrp.c