Re: [arm-gnu] gcc segv with -O3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [arm-gnu] gcc segv with -O3
- To: arm-gnu@xxxxxxxxxxxxxxxx
- Subject: Re: [arm-gnu] gcc segv with -O3
- From: Paul Brook <paul@xxxxxxxxxxxxxxxx>
- Date: Thu, 8 Sep 2005 14:15:30 +0100
On Thursday 08 September 2005 09:51, Steve Simon wrote:
> Hi,
>
> I have a reproducable bug in gcc, this occurs ONLY when the optimiser
> is set to level 3, if set to level 2 the code compiles fine.
>
> l:\design\fugue.3/tools/gcc/gcc -c -mcpu=arm9 -D __ARM -D __ARM9 -D
> EMBEDDED -D TX_DISABLE_ERROR_CHECKING --freestanding -I .
> -Il:\design\fugue.3/inc xd.c -o xd.o xd.c: In function `xd':
> xd.c:157: internal compiler error: Segmentation fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
> Send email to arm-gnu@xxxxxxxxxxxxxxxx for instructions.
>
> xd is a trivial hexdump tool, you interested in looking at the code?
We need a reproducible testcase before we can look at this. Please send me
preprocessed source for the problematic file, by private mail if it is large.
You can generate this by adding -save-temps and sending the resulting .i
file.
Paul