re PR tree-optimization/82157 (ICE on valid code at -O2 and -O3: cannot update SSA...
authorRichard Biener <rguenther@suse.de>
Tue, 12 Sep 2017 14:15:37 +0000 (14:15 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 12 Sep 2017 14:15:37 +0000 (14:15 +0000)
commit29545149bf8ca8c89a9a7d32fe7fdb8e9294759c
treede78c3ff6d003d92a966ab0d77d691cb438bed65
parentd681026df10348e1fbede89055cbd395dc66cdd8
re PR tree-optimization/82157 (ICE on valid code at -O2 and -O3: cannot update SSA form)

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

PR tree-optimization/82157
* tree-ssa-pre.c (remove_dead_inserted_code): Do not remove
stmts with side-effects.

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

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