[Bug optimization/14266] [tree-ssa] ICE on legal, depends on .GLOBAL_VAR.
dnovillo at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Mar 2 19:38:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list