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 middle-end/41470] [4.5 Regression] -fexceptions ICE in partition_view_bitmap, at tree-ssa-live.c:331



------- Comment #2 from rguenth at gcc dot gnu dot org  2009-09-25 15:09 -------
We go to the ICE of PR41469 with

Index: tree-ssa-coalesce.c
===================================================================
--- tree-ssa-coalesce.c (revision 152166)
+++ tree-ssa-coalesce.c (working copy)
@@ -1377,7 +1377,10 @@ coalesce_ssa_name (void)
        {
          tree a = ssa_name (i);

-         if (a && SSA_NAME_VAR (a) && !DECL_ARTIFICIAL (SSA_NAME_VAR (a)))
+         if (a
+             && !has_zero_uses (a)
+             && SSA_NAME_VAR (a)
+             && !DECL_ARTIFICIAL (SSA_NAME_VAR (a)))
            {
              tree *slot = (tree *) htab_find_slot (ssa_name_hash, a, INSERT);



-- 


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


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