This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Graham Stott wrote:
Diego Novillo wrote:On Sat, 29 Jun 2002, Graham Stott wrote:I get the same segv compiling crtstuff.c with the stage2 compiler just built by stage1 and that is with and without rtl checking enabled.It's possible that I'm not getting a segv because of the older binutils I'm running. I still have not had time to look into it any more than this. Diego.I've pinned it down to insn-recog.c:recog_30() being miscompiled, some more digging should be able to pinpoint it further. Graham
A bit more digging shows that the stack has been trashed on return from recog_30, hence the segv. The stack appears to get trashed in recog_22 called from recog_30 and looks to occur when setting "operand[0] = x2" part way thru recog_22. On entry to recog_22 a stack backtrace in gdb looks fine but after the assignment to operand[0] the third entry in the backtrace is junk. Cheers Graham
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |