This is the mail archive of the 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]

[tree-ssa] almost obvious

but I'm new to this code so I'll check.  When GLOBAL_VAR is in use it
can get put into the call_clobbered_var list (find_referenced_vars
calling add_referenced_var).  Later (below) it tries to add an alias
set where GLOBAL_VAR depends on itself.  This doesn't work, and
results in an ICE building sixtrack (going thru F-to-C translator).
Sorry, can't provide that.  Bootstrapping on Darwin.

2003-12-10 Dale Johannesen <>

        * tree-dfa.c (compute_alias_sets):  Don't try to make
	GLOBAL_VAR alias itself.

Index: tree-dfa.c
RCS file: /cvs/gcc/gcc/gcc/Attic/tree-dfa.c,v
retrieving revision
diff -u -d -b -w -c -3 -p -r1.1.4.199 tree-dfa.c
cvs server: conflicting specifications of output style
*** tree-dfa.c  8 Dec 2003 12:58:22 -0000
--- tree-dfa.c  10 Dec 2003 23:56:21 -0000
*************** compute_alias_sets (void)
*** 1906,1911 ****
--- 1906,1912 ----
      for (i = 0; i < num_call_clobbered_vars; i++)
        tree var = call_clobbered_var (i);
+       if (var != global_var)
          add_may_alias (var, global_var);

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