This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[tree-ssa]: Fix PR optimization/12936
- From: Daniel Berlin <dberlin at dberlin dot org>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 11 Nov 2003 00:23:51 -0500 (EST)
- Subject: [tree-ssa]: Fix PR optimization/12936
One liner, bootstrapped and regtested on i686-pc-linux-gnu
2003-11-11 Daniel Berlin <dberlin@dberlin.org>
Fix PR optimization/12936
* tree-ssa-pre.c (expr_phi_insertion): Remove unused code that was
causing ICE's for VA_ARG_EXPR.
Index: tree-ssa-pre.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Attic/tree-ssa-pre.c,v
retrieving revision 1.1.4.99
diff -u -3 -p -r1.1.4.99 tree-ssa-pre.c
--- tree-ssa-pre.c 7 Nov 2003 06:17:45 -0000 1.1.4.99
+++ tree-ssa-pre.c 11 Nov 2003 05:20:27 -0000
@@ -771,7 +771,6 @@ expr_phi_insertion (bitmap * dfs, struct
bitmap_a_or_b (dfphis, dfphis, temp);
if (kill != NULL)
continue;
- occur = TREE_OPERAND (occur, 1);
get_stmt_operands (occurp);
uses = use_ops (stmt_ann (occurp));
for (j = 0; uses && j < VARRAY_ACTIVE_SIZE (uses); j ++)