This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
ARM platform: internal error - unrecognizable insn
- To: gcc bugs list <gcc-bugs at gcc dot gnu dot org>
- Subject: ARM platform: internal error - unrecognizable insn
- From: scottb <scottb at netwinder dot org>
- Date: Mon, 04 Oct 1999 15:39:43 -0400
- CC: Philip Blundell <pb at nexus dot co dot uk>, Richard Earnshaw <richard dot earnshaw at arm dot com>, Nick Clifton <nickc at cygnus dot com>
- Organization: Rebel.com
Using the following compiler on a NetWinder:
Reading specs from
/usr/lib/gcc-lib/armv4l-unknown-linux-gnu/2.95.1/specs
gcc version 2.95.1 19990816 (release)
I get the following error:
gcc -O2 -fsigned-char -fomit-frame-pointer -fpic -I. -I.
-I/usr/include/apache -c functions/dns.c -o
functions/dns.o
functions/dns.c: In function `php3_getmxrr':
functions/dns.c:321: internal error--unrecognizable insn:
(insn 781 780 286 (set (reg:SI 0 r0)
(umin:SI (reg/v:SI 0 r0)
(const_int 8192 [0x2000]))) -1 (nil)
(nil))
make: *** [functions/dns.o] Error 1
This is an -O2 optimization bug. Lowering the optimization level to -O1
allows this file to build. Unfortunately I still don't understand
enough RTL to debug this one. Sorry. The .i file is attached.
Scott
dns.i.gz