GCCSDK Error: internal error--unrecognizable insn

Nick Burrett nick at dsvr.net
Fri Feb 15 02:40:42 PST 2002


"Luke Graham" <quango at eh.org> writes:

> GCCSDK throws an insn unrecognizable error with the attached source file and
> the combination of -O3
> and -fPIC options.  Fairly minimal code fragment and details in the file.

Don't use -fPIC.  It doesn't work on RISC OS.

Nick.



[riscos at nick test]$ ~/2.95/riscos-cross/bin/gcc -v -S -O3 bug.c 
Using builtin specs.
gcc version 2.95.4 20010319 (prerelease) [gccsdk 20020112]
 /home/riscos/2.95/riscos-cross/bin/arm-riscos-aof/2_95_4/cpp -lang-c -v -D__GNUC__=2 -D__GNUC_MINOR__=95 -Darm -Driscos -D__arm__ -D__riscos__ -D__arm -D__riscos -Asystem(riscos) -Acpu(arm) -Amachine(acorn) -D__CHAR_UNSIGNED__ -D__OPTIMIZE__ -D__ARM_ARCH_2__ -D__APCS_26__ -D__JMP_BUF_SIZE=24 -icrossdirafter /unixlib bug.c /tmp/ccMw1k9H.i
cpp: GNU CPP version 2.95.4 20010319 (prerelease) [gccsdk 20020112] (ARM/RISC OS with AOF)
cpp: ignoring nonexistent directory `/home/riscos/2.95/riscos-cross/local/include'
cpp: ignoring nonexistent directory `/home/riscos/2.95/riscos-cross/sys/include'
#include "..." search starts here:
#include <...> search starts here:
 /home/riscos/2.95/riscos-cross/lib/gcc-lib/arm-riscos-aof/2_95_4/include
 /home/riscos/2.95/riscos-cross/include/unixlib
End of search list.
 /home/riscos/2.95/riscos-cross/bin/arm-riscos-aof/2_95_4/cc1 /tmp/ccMw1k9H.i -quiet -dumpbase bug.c -O3 -version -o bug.s
GNU C version 2.95.4 20010319 (prerelease) [gccsdk 20020112] (arm-riscos-aof) compiled by GNU C version 2.96 20000731 (Red Hat Linux 7.1 2.96-85).




More information about the gcc mailing list