aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa-struct-reorg.c
diff options
context:
space:
mode:
authorRichard Biener <rguenth@gcc.gnu.org>2010-03-15 13:05:05 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2010-03-15 13:05:05 +0000
commit610de68dbe2c55bad224111693e12cdb00aa87b8 (patch)
tree22a8bc701235da3d07736bdd2f28c95976de8b73 /gcc/ipa-struct-reorg.c
parent932e2e64b1f6bcdca46f9a65362a91e4147e3435 (diff)
downloadgcc-610de68dbe2c55bad224111693e12cdb00aa87b8.zip
gcc-610de68dbe2c55bad224111693e12cdb00aa87b8.tar.gz
gcc-610de68dbe2c55bad224111693e12cdb00aa87b8.tar.bz2
re PR tree-optimization/43317 (ICE: Segmentation fault with -fipa-struct-reorg -g)
2010-03-15 Richard Guenther <rguenther@suse.de> PR tree-optimization/43317 * ipa-struct-reorg.c (create_new_general_access): Update stmt. * gcc.dg/pr43317.c: New testcase. From-SVN: r157457
Diffstat (limited to 'gcc/ipa-struct-reorg.c')
-rw-r--r--gcc/ipa-struct-reorg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/ipa-struct-reorg.c b/gcc/ipa-struct-reorg.c
index e0336aa..24b42e3 100644
--- a/gcc/ipa-struct-reorg.c
+++ b/gcc/ipa-struct-reorg.c
@@ -1389,6 +1389,7 @@ create_new_general_access (struct access_site *acc, d_str str)
for now just reset all debug stmts referencing objects that have
been peeled. */
gimple_debug_bind_reset_value (stmt);
+ update_stmt (stmt);
break;
default: