[prev in list] [next in list] [prev in thread] [next in thread]
List: gcc-bugs
Subject: Re: tree-ssa branch broken
From: Graham Stott <graham.stott () btinternet ! com>
Date: 2002-06-30 23:18:32
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic