On 04/04/2011 02:34 PM, Matt Fischer wrote:
I'm getting an internal compiler error on the following test program:

void func(int a, int b, int c, int d, int e, int f, int g, short int h)
{
        assert(a<  100);
        assert(b<  100);
        assert(c<  100);
        assert(d<  100);
        assert(e<  100);
        assert(f<  100);
        assert(g<  100);
        assert((-1000<  h)&&  (h<  0));
}

Command line and output:

$ arm-none-eabi-gcc -mthumb -O2 -c -o test.o test.c
test.c: In function 'func':
test.c:11:1: internal compiler error: in default_secondary_reload, at
targhooks.c:769
Please submit a full bug report,
with preprocessed source if appropriate.
See<https://support.codesourcery.com/GNUToolchain/>  for instructions.



Look, it tells you exactly what to do.  Go visit that web site.



Thanks,
David Daney

Reply via email to