PATCH needed to bootstrap trunk with MIPSpro C Compiler
Klaus-Georg Adams
Klaus-Georg.Adams@chemie.uni-karlsruhe.de
Fri Aug 21 10:43:00 GMT 1998
I need the appended patch to bootstrap on mips-sgi-irix6.[24] with the
native compiler. It complains that the initializers are not constants.
And could you please take a look at
http://www.cygnus.com/ml/egcs-bugs/1998-Aug/0407.html , I suspect your
loop-patch isn't innocent here, too. I can't tell for sure, because I
haven't built the main-trunk since Aug 3, but I think your's was the
only bigger change since the last working build.
-- kga
-------------------------------------------------------------------------
Klaus-Georg Adams Email: Klaus-Georg.Adams@chemie.uni-karlsruhe.de
Institut f. Anorg. Chemie, Lehrstuhl II Tel: 49(0)721 608 3485
Universität Karlsruhe, D-76128 Karlsruhe
-------------------------------------------------------------------------
=== cd /egcs/adams/egcs-cvs/gcc/
=== cvs -d :pserver:anoncvs@egcs.cygnus.com:/egcs/carton/cvsfiles diff -u loop.c
Index: loop.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/loop.c,v
retrieving revision 1.61
diff -u -p -u -r1.61 loop.c
--- loop.c 1998/08/19 12:30:47 1.61
+++ loop.c 1998/08/21 17:17:31
@@ -8571,7 +8571,9 @@ load_mems (scan_start, end, loop_top, st
p != NULL_RTX;
p = next_insn_in_loop (p, scan_start, end, loop_top))
{
- rtx_and_int ri = { p, i };
+ rtx_and_int ri;
+ ri.r = p;
+ ri.i = i;
for_each_rtx (&p, replace_loop_mem, &ri);
}
@@ -8620,7 +8622,9 @@ load_mems (scan_start, end, loop_top, st
{
/* Now, we need to replace all references to the previous exit
label with the new one. */
- rtx_pair rr = { end_label, label };
+ rtx_pair rr;
+ rr.r1 = end_label;
+ rr.r2 = label;
for (p = start; p != end; p = NEXT_INSN (p))
for_each_rtx (&p, replace_label, &rr);
More information about the Gcc-patches
mailing list