g77 -O1 -funroll-loops produces bad code

Ovidiu Toader ovi@physics.utoronto.ca
Tue Mar 2 06:43:00 GMT 1999


N8TM@aol.com wrote:
> I was trying -Os and -O2 rather than -O1. 
OK, now I get an ICE:

toucan:~/work/f77/bug2> g77 -v
g77 version egcs-2.93.10 19990228 (gcc2 ss-980929 experimental) (from
FSF-g77 version 0.5.24-19990219)

toucan:~/work/f77/bug2> g77 -O2 -march=pentiumpro -funroll-loops -o exe
lfk537g.f
lfk537g.f: In program `MAIN__':
lfk537g.f:894: warning:
         call verify(iou)
              ^
Reference to unimplemented intrinsic `VERIFY' at (^) (assumed EXTERNAL)
../../egcs/gcc/reg-stack.c:1523: Internal compiler error in function
emit_swap_insn
Please submit a full bug report to `egcs-bugs@egcs.cygnus.com'.
See <URL: http://egcs.cygnus.com/faq.html#bugreport > for details.

> The source code is in the file > ftp://members.aol.com/n8tm/lloops.shar.gz , named lfk537g.f.

-- 
Ovidiu


More information about the Gcc-bugs mailing list