egcs sig 11 error
Jeffrey A Law
law@cygnus.com
Tue Sep 8 23:43:00 GMT 1998
In message < 3.0.5.32.19980908225932.00834ac0@daedalus.hsys.com.au >you write:
> >It's not clear if this is happening in stage1 or in a later stage of
> >compilation. If it is happening in stage1, it is possible that whatever
> >compiler you're using to build egcs-1.1 has mis-compiled egcs-1.1.
>
> Thanks for the pointers. The stage1 compiler is failing to build
> crtbegin.o, it would seem.
My money would be on stage1/cc1 being mis-compiled by egcs-1.0.3.
> Program received signal SIGSEGV, Segmentation fault.
> 0x8126f8a in reload (first=0x81c92e4, global=1, dumpfile=0x0)
> at ../../gcc/reload1.c:1340
> 1340 in_max = MAX (in_max,
> insn_needs.in_addr[j].groups[i]);
>
> I'll have to spend some more time looking at this, so I probably won't have
> a good shot at this until the weekend.
You might want to look at the values of i & j to make sure they are
reasonable. You may also want to look the value of reload_n_operands.
"j" should be less than or equal to reload_n_operands. I would expect
"i" to have a value less than 15.
Assuming i & j are reasonable, look at the value of
insn_needs.in_addr[j].groups[i]
jeff
More information about the Gcc-bugs
mailing list