This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: ICE in gcc/libgcc2.c:566 (gcc trunk)
On 07 Feb 2007 15:36:14 -0800
Ian Lance Taylor <iant@google.com> wrote:
> Hanno Meyer-Thurow <h.mth@web.de> writes:
>
> > sorry to bother again. I reduced the code (attached) that segfaults here
> > on Core 2 Duo [1]. If I add -fno-split-wide-types the code does not segfault.
> > That flag comes from your patchset [2].
>
> I don't know what is causing this. I just checked again, and it does
> not happen for me.
Now I tried gcc trunk rev. 121750 with 'make bootstrap'. It still fails.
Though, I have a smaller piece of code (attached) that segfaults.
Any idea where to look for TItype / TI mode for nocona arch?
ana gcc # ./cc1 -fsplit-wide-types test.c -o test.o
__negti2
test.c: In function â__negti2â:
test.c:7: internal compiler error: Speicherzugriffsfehler
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
ana gcc # ./cc1 -fno-split-wide-types test.c -o test.o
__negti2
Execution times (seconds)
life info update : 0.01 (100%) usr 0.00 ( 0%) sys 0.01 (50%) wall 0 kB ( 0%) ggc
TOTAL : 0.01 0.00 0.02 2256 kB
Regards,
Hanno
typedef int TItype __attribute__ ((mode (TI)));
TItype
__negti2 (TItype u)
{
return u;
}