ICE in g77 from 1208 snapshot

Billinghurst, David (RTD) David.Billinghurst@riotinto.com.au
Fri Dec 31 20:54:00 GMT 1999


Fixed in 1214 snapshot

> -----Original Message-----
> From:	Billinghurst, David (RTD) [SMTP:David.Billinghurst@riotinto.com.au]
> Sent:	Monday, 13 December 1999 22:19
> To:	'gcc-bugs@gcc.gnu.org'
> Subject:	ICE in g77 from 1208 snapshot
> 
> Platform:     mips-sgi-irix6.5
> Version:      egcs-19991208
> Problem:      ICE from g77 with "-O2 -funroll-loops"
> Reproduce by: g77 -c -O2 -funroll-loops schkeq.f
> 
> 
> Compiler output
> 
> /exd4/billingd/tmp/egcs-19991208/bin/g77  -v -c -O2 -funroll-loops
> schkeq.f
> g77 version 2.96 19991208 (experimental) (from FSF-g77 version 0.5.25
> 19991208 (experimental))
> Reading specs from
> /exd4/billingd/tmp/egcs-19991208/lib/gcc-lib/mips-sgi-irix6.5/2.96/specs
> gcc version 2.96 19991208 (experimental)
>  /exd4/billingd/tmp/egcs-19991208/lib/gcc-lib/mips-sgi-irix6.5/2.96/f771
> schkeq.f -quiet -dumpbase schkeq.f -O2 -version -fversion -funroll-loops
> -o
> /var/tmp/ccaiAXed.s
> GNU F77 version 2.96 19991208 (experimental) (mips-sgi-irix6.5) compiled
> by
> GNU C version 2.96 19991208 (experimental).
> GNU Fortran Front End version 0.5.25 19991208 (experimental)
> g77: Internal compiler error: program f771 got fatal signal 11
> 
> 
> 
> Core was generated by `f771'.
> Program terminated with signal 11, Segmentation fault.
> Reading symbols from /usr/lib32/libc.so.1...done.
> #0  try_copy_prop (scan_start=0x10437cd0, loop_top=0x0, end=0x1043a8b0,
> replacement=0x10515c30, 
>     regno=2197) at /exd4/billingd/src/egcs-19991208/gcc/loop.c:10044
> 10044             if (REGNO_FIRST_UID (regno) == INSN_UID (insn))
> (gdb) where
> #0  try_copy_prop (scan_start=0x10437cd0, loop_top=0x0, end=0x1043a8b0,
> replacement=0x10515c30, 
>     regno=2197) at /exd4/billingd/src/egcs-19991208/gcc/loop.c:10044
> #1  0x101d6d08 in load_mems (scan_start=0x10437cd0, end=0x1043a8b0,
> loop_top=0x0, start=0x10437c90)
>     at /exd4/billingd/src/egcs-19991208/gcc/loop.c:9953
> #2  0x101d63a8 in load_mems_and_recount_loop_regs_set
> (scan_start=0x10437cd0, end=0x1043a8b0, 
>     loop_top=0x0, start=0x10437c90, insn_count=0x7fff29b0)
>     at /exd4/billingd/src/egcs-19991208/gcc/loop.c:9693
> #3  0x101c773c in scan_loop (loop_start=0x10437c90, end=0x1043a8b0,
> loop_cont=0x1043a750, unroll_p=0, 
>     bct_p=0) at /exd4/billingd/src/egcs-19991208/gcc/loop.c:1178
> #4  0x101c6258 in loop_optimize (f=0x10381fa8, dumpfile=0x69, unroll_p=0,
> bct_p=0)
>     at /exd4/billingd/src/egcs-19991208/gcc/loop.c:570
> #5  0x100e4680 in rest_of_compilation (decl=0x103962c8)
>     at /exd4/billingd/src/egcs-19991208/gcc/toplev.c:3928
> #6  0x1004a76c in finish_function (nested=0) at
> /exd4/billingd/src/egcs-19991208/gcc/f/com.c:14248
> #7  0x10045158 in ffecom_finish_progunit () at
> /exd4/billingd/src/egcs-19991208/gcc/f/com.c:11440
> #8  0x100b9860 in ffestd_exec_end () at
> /exd4/billingd/src/egcs-19991208/gcc/f/std.c:1518
> #9  0x100ab7c0 in ffestc_shriek_subroutine_ (ok=true)
>     at /exd4/billingd/src/egcs-19991208/gcc/f/stc.c:4935
> #10 0x100b6d3c in ffestc_R1225 (name=0x0) at
> /exd4/billingd/src/egcs-19991208/gcc/f/stc.c:12429
> #11 0x100ac594 in ffestc_end () at
> /exd4/billingd/src/egcs-19991208/gcc/f/stc.c:5658
> #12 0x1008a06c in ffestb_end3_ (t=0x10431298) at
> /exd4/billingd/src/egcs-19991208/gcc/f/stb.c:3206
> #13 0x10089ab8 in ffestb_end (t=0x10431298) at
> /exd4/billingd/src/egcs-19991208/gcc/f/stb.c:2985
> #14 0x10085044 in ffesta_second_ (t=0x10431298) at
> /exd4/billingd/src/egcs-19991208/gcc/f/sta.c:1359
> #15 0x1007dacc in ffelex_send_token_ () at
> /exd4/billingd/src/egcs-19991208/gcc/f/lex.c:1695
> #16 0x1007ba70 in ffelex_finish_statement_ () at
> /exd4/billingd/src/egcs-19991208/gcc/f/lex.c:973
> #17 0x1007f5f8 in ffelex_file_fixed (wf=0x1043a750, f=0xfb563c8)
>     at /exd4/billingd/src/egcs-19991208/gcc/f/lex.c:3057
> #18 0x100de180 in ffe_file (wf=0x10397b30, f=0xfb563c8)
>     at /exd4/billingd/src/egcs-19991208/gcc/f/top.c:541
> #19 0x10082e98 in yyparse () at
> /exd4/billingd/src/egcs-19991208/gcc/f/parse.c:79
> #20 0x100e2d90 in compile_file (name=0x7fff3048 "schkeq.f")
>     at /exd4/billingd/src/egcs-19991208/gcc/toplev.c:3238
> #21 0x100e7ecc in main (argc=4, argv=0x7fff2f24) at
> /exd4/billingd/src/egcs-19991208/gcc/toplev.c:5611
> 
> 
> +++++++++++++++++++++++++++++++++++++++++
> (Mr) David Billinghurst
> Comalco Research Centre
> PO Box 316, Thomastown, Vic, Australia, 3074
> Phone:	+61 3 9469 0642
> FAX:	+61 3 9462 2700
> Email:	David.Billinghurst@riotinto.com.au
> 
>  <<schkeq.f>>  << File: schkeq.f >> 



More information about the Gcc-bugs mailing list