re PR tree-optimization/80713 (recent crash in update_dep_bb)
authorRichard Biener <rguenther@suse.de>
Fri, 12 May 2017 10:54:29 +0000 (10:54 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 12 May 2017 10:54:29 +0000 (10:54 +0000)
commit53e788d00c62e4430ed77f65ad669b8c60e69420
tree472a2bbcccd0aaf65c3b199dc33e708277edea3f
parent2ead1ab91123d2af20dac4dfa551355dacfef00d
re PR tree-optimization/80713 (recent crash in update_dep_bb)

2017-05-12  Richard Biener  <rguenther@suse.de>

PR tree-optimization/80713
* tree-ssa-pre.c (remove_dead_inserted_code): Clear
inserted_exprs bit for not removed stmts.

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

From-SVN: r247963
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr80713.c [new file with mode: 0644]
gcc/tree-ssa-pre.c