GCC-SH: Internal compiler error in propagate_one_insn, at flow.c:3924

Toshi Morita tm2@best.com
Thu Mar 15 00:34:00 GMT 2001


version: GCC CVS
   host: i686-linux
 target: sh-elf

When the file rengine.i from stress-1.17 is compiled with the options:

-O2 -m4-single-only -ml -S -fpic

...the following occurs:

rengine.i: In function `REngThrottle':
rengine.i:9581: Internal compiler error in propagate_one_insn, at flow.c:3924
...

Here's the stack backtrace:

(gdb) bt
#0  propagate_one_insn (pbi=0x832be68, insn=0x4040e560) at ../../gcc/gcc/flow.c:3924
#1  0x80da333 in propagate_block (bb=0x82dc600, live=0xbffff280, local_set=0x0, cond_local_set=0x0, flags=27) at ../../gcc/gcc/flow.c:4343
#2  0x80d892b in update_life_info (blocks=0x0, extent=UPDATE_LIFE_GLOBAL, prop_flags=27) at ../../gcc/gcc/flow.c:3239
#3  0x80d84f3 in life_analysis (f=0x4040af40, file=0x0, flags=63) at ../../gcc/gcc/flow.c:3073
#4  0x817352f in rest_of_compilation (decl=0x403b4958) at ../../gcc/gcc/toplev.c:3561
#5  0x805fa8e in c_expand_body (fndecl=0x403b4958, nested_p=0) at ../../gcc/gcc/c-decl.c:6752
#6  0x805f882 in finish_function (nested=0) at ../../gcc/gcc/c-decl.c:6673
#7  0x804a034 in yyparse_1 () at ../../gcc/gcc/c-parse.y:324
#8  0x8171930 in compile_file (name=0x82d0004 "rengine.i") at ../../gcc/gcc/toplev.c:2371
#9  0x81755fa in toplev_main (argc=7, argv=0xbffff984) at ../../gcc/gcc/toplev.c:4970
#10 0x4003ab65 in __libc_start_main (main=0x808cfb8 <main>, argc=7, ubp_av=0xbffff984, init=0x80490b4 <_init>, fini=0x821778c <_fini>, 
    rtld_fini=0x4000df24 <_dl_fini>, stack_end=0xbffff97c) at ../sysdeps/generic/libc-start.c:111

...and the current rtx:

(gdb) call debug_rtx(insn)
(insn 69 68 71 (set (reg:SI 12 r12)
        (plus:SI (reg:SI 12 r12)
            (reg:SI 0 r0))) -1 (nil)
    (nil))

stress-1.17 (the gcc stress suite) can be downloaded from the usual place:

ftp://shell14.ba.best.com/pub.t/tm2/stress-1.17.tar.gz

Toshi



More information about the Gcc-bugs mailing list