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 optimization/14266] [tree-ssa] ICE on legal, depends on .GLOBAL_VAR.


------- Additional Comments From dnovillo at gcc dot gnu dot org  2004-03-02 19:38 -------
We were not marking .GLOBAL_VAR for renaming after creating it.  Fixed with:

Index: tree-ssa-alias.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Attic/tree-ssa-alias.c,v
retrieving revision 1.1.2.7
diff -d -u -p -r1.1.2.7 tree-ssa-alias.c
--- tree-ssa-alias.c    27 Feb 2004 18:38:58 -0000      1.1.2.7
+++ tree-ssa-alias.c    2 Mar 2004 19:35:24 -0000
@@ -1713,6 +1713,7 @@ create_global_var (void)
   TREE_ADDRESSABLE (global_var) = 0;

   add_referenced_tmp_var (global_var);
+  bitmap_set_bit (vars_to_rename, var_ann (global_var)->uid);
 }


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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