Stabilization on the ARM: an unrolling bug

Michael Hayes m.hayes@elec.canterbury.ac.nz
Sat Jan 9 06:52:00 GMT 1999


Richard Earnshaw writes:

 > Unfortunately, the stage1 compiler now aborts while compiling 
 > _bb_exit_func in libgcc2.c (the last_loop_insn is a line note if compiled 
 > with -O2 -g0, and a LOOP_END note if just compiled with -O2).

OK, can you just replace the call to abort() with a return of 0.  A
lot of the loop unrolling code assumed that the last loop insn was a
jump to the loop top.  Obviously, this is not the case.

I'll generate a new patch when the CVS server decides to respond
again...

Michael.



More information about the Gcc-patches mailing list