This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

ARM platform: internal error - unrecognizable insn


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]