This is the mail archive of the gcc-patches@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]

Re: Fix pr41883 + 2 dups


On Fri, Feb 19, 2010 at 10:21 AM, Andrew Pinski <pinskia@gmail.com> wrote:
> On Wed, Jan 6, 2010 at 10:47 AM, Richard Henderson <rth@redhat.com> wrote:
>> Tested on i386 and x86_64 linux.
>
> This patch causes an ICE with a cross of spu-elf
> (host=x86_64-linux-gnu), though it seems a generic issue.
> When add_reg_note is called, we have:
> (note 21 12 22 2 NOTE_INSN_DELETED)
> But REG_NOTES modifies a random location (in this case insn 25) and we
> end up with insn 25 with a code of 45560.

I should mention a simple program:
int main(void) { return 0; }
Compiled at -O2 is enough to reproduce the ICE.

Thanks,
Andrew Pinski


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]