This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/39204] [4.4 Regression] ICE in compute_attic



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]