aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-phiprop.c
diff options
context:
space:
mode:
authorSteven Bosscher <steven@gcc.gnu.org>2010-12-21 15:02:02 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2010-12-21 15:02:02 +0000
commitb1193f619b20b32bbe44e31cae9e590af0cb7324 (patch)
tree379265a74d8187f00d436884b76e07311e57493c /gcc/tree-ssa-phiprop.c
parentdf0820da970383d46a7e5fb0a04d504a8b280553 (diff)
downloadgcc-b1193f619b20b32bbe44e31cae9e590af0cb7324.zip
gcc-b1193f619b20b32bbe44e31cae9e590af0cb7324.tar.gz
gcc-b1193f619b20b32bbe44e31cae9e590af0cb7324.tar.bz2
re PR middle-end/45310 (ICE: verify_stmts failed: Dead STMT in EH table with -O1 -fnon-call-exceptions)
gcc/ PR middle-end/45310 * tree-ssa-phiprop.c (propagate_with_phi): Remove statement completely from the function, including EH traces. testsuite/ PR middle-end/45310 * g++.dg/pr45310.C: New test. From-SVN: r168120
Diffstat (limited to 'gcc/tree-ssa-phiprop.c')
-rw-r--r--gcc/tree-ssa-phiprop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-phiprop.c b/gcc/tree-ssa-phiprop.c
index 614546b..a38e696 100644
--- a/gcc/tree-ssa-phiprop.c
+++ b/gcc/tree-ssa-phiprop.c
@@ -352,7 +352,7 @@ propagate_with_phi (basic_block bb, gimple phi, struct phiprop_d *phivn,
want to delete it here we also have to delete all intermediate
copies. */
gsi = gsi_for_stmt (use_stmt);
- gsi_remove (&gsi, false);
+ gsi_remove (&gsi, true);
phi_inserted = true;
}