------- Comment #12 from rguenth at gcc dot gnu dot org  2009-02-17 13:47 
-------
Or rather

Index: tree-ssa-pre.c
===================================================================
--- tree-ssa-pre.c      (revision 144227)
+++ tree-ssa-pre.c      (working copy)
@@ -1704,7 +1704,7 @@ phi_translate_1 (pre_expr expr, bitmap_s
        e = find_edge (pred, gimple_bb (phi));
        if (e)
          {
-           tree def = PHI_ARG_DEF (phi, e->dest_idx);
+           tree def = VN_INFO (PHI_ARG_DEF (phi, e->dest_idx))->valnum;
            pre_expr newexpr;

            /* Handle constant. */


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39204

Reply via email to