v850-gcc (fatal signal 6)
Jeffrey A Law
law@cygnus.com
Mon Dec 13 22:00:00 GMT 1999
In message <199910121855.DAA00306@abacus.hf.rim.or.jp>you write:
> if this doesn't occur in newer version, please inform me.
>
> $ ./configure --host=i386--freebsd --target=v850
> (snip)
> $ v850-gcc -v
> Reading specs from /usr/local/lib/gcc-lib/v850/2.8.0/specs
> gcc version 2.8.0
> $ cat foo.c
> foo ()
> {
> extern int i; /* or, extern short i; */
> i |= 1 << 8; /* or, ^= pow_of_2, &= ~pow_of_2 {256 <= pow_of_2} */
> }
> $ v850-gcc -O1 -S foo.c
> v850-gcc: Internal compiler error: program cc1 got fatal signal 6
I just tried this with gcc-2.95.2 and it works fine. [ The code is
sub-optimal,
but it is correct. ]
I recommend you upgrade to a newer version of GCC.
jeff
More information about the Gcc-bugs
mailing list