re PR middle-end/67133 (ICE at -Os and above on x86_64-linux-gnu in gimple_op, at...
authorMarek Polacek <polacek@redhat.com>
Wed, 19 Aug 2015 14:22:26 +0000 (14:22 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Wed, 19 Aug 2015 14:22:26 +0000 (14:22 +0000)
commit255520e020ed9a5178b04ec006bfbf0915148315
treefbf0d5259d8773a3cdb4750d1791d48fa4868075
parentd63c864834782e37f78834d168e7e383d2c080b3
re PR middle-end/67133 (ICE at -Os and above on x86_64-linux-gnu in gimple_op, at gimple.h:2274)

PR middle-end/67133
* gimple-ssa-isolate-paths.c
(insert_trap_and_remove_trailing_statements): Rename to ...
(insert_trap): ... this.  Don't remove trailing statements; split
block instead.
(find_explicit_erroneous_behaviour): Don't remove all outgoing edges.

* g++.dg/torture/pr67133.C: New test.

From-SVN: r227009
gcc/ChangeLog
gcc/gimple-ssa-isolate-paths.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr67133.C [new file with mode: 0644]