aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Jambor <mjambor@suse.cz>2010-06-15 13:09:12 +0200
committerMartin Jambor <jamborm@gcc.gnu.org>2010-06-15 13:09:12 +0200
commiteed5f58ad65fc65af6d50e263a632537c9478b26 (patch)
tree912b799c382a175714cfa958a7e1bb45bdf4c69c
parente31a6dc2db2f9e1a028b8c40ecced5c19d2e1b59 (diff)
downloadgcc-eed5f58ad65fc65af6d50e263a632537c9478b26.zip
gcc-eed5f58ad65fc65af6d50e263a632537c9478b26.tar.gz
gcc-eed5f58ad65fc65af6d50e263a632537c9478b26.tar.bz2
re PR lto/44464 (ICE during linux kernel whopr build)
2010-06-15 Martin Jambor <mjambor@suse.cz> PR lto/44464 * tree-sra.c (replace_removed_params_ssa_names): Call release_ssa_name on the newly dead SSA name. From-SVN: r160777
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/tree-sra.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b623f3b..fda5814 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2010-06-15 Martin Jambor <mjambor@suse.cz>
+
+ PR lto/44464
+ * tree-sra.c (replace_removed_params_ssa_names): Call release_ssa_name
+ on the newly dead SSA name.
+
2010-06-15 Alan Modra <amodra@gmail.com>
* doc/invoke.texi: Add mcmodel to powerpc options.
diff --git a/gcc/tree-sra.c b/gcc/tree-sra.c
index cd99b30b..18cef67 100644
--- a/gcc/tree-sra.c
+++ b/gcc/tree-sra.c
@@ -3882,6 +3882,7 @@ replace_removed_params_ssa_names (gimple stmt,
gimple_phi_set_result (stmt, name);
replace_uses_by (lhs, name);
+ release_ssa_name (lhs);
return true;
}