Subject: toolchain/15208: Internal gcc error in fatal_insn compiling xphoon.c with -O2
To: None <gnats-bugs@gnats.netbsd.org>
From: None <paul@mcjones.org>
List: netbsd-bugs
Date: 01/11/2002 10:41:06
>Number: 15208
>Category: toolchain
>Synopsis: Internal gcc error in fatal_insn compiling xphoon.c with -O2
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jan 11 10:41:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Paul McJones
>Release: 1.5.2
>Organization:
>Environment:
NetBSD shark 1.5.2 NetBSD 1.5.2 (SHARK) #12: Sat Aug 18 06:04:05 CEST 2001 he@hai.urc.uninett.no:/usr/src/sys/arch/arm32/compile/SHARK arm32
>Description:
The following error message occurs when the package x11/xphoon is built:
gcc -O2 -I. -I. -I./X11 -I./X11/bitmaps -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c xphoon.c
xphoon.c: In function `hack_bits':
xphoon.c:500: internal error--insn does not satisfy its constraints:
(insn:HI 234 231 711 (set (reg:SI 8 r8)
(mult:SI (reg:SI 8 r8)
(reg:SI 8 r8))) 41 {mulsi3} (insn_list 231 (nil))
(nil))
/usr/src/gnu/usr.bin/egcs/common/../../../dist/gcc/toplev.c:1369: Internal compiler error in function fatal_insn
*** Error code 1
Stop.
>How-To-Repeat:
Cd to /usr/pkgsrc/x11/xphoon on a Shark (DNARD) running NetBSD 1.5.2.
>Fix:
Compiling xphoon.c with -O1 instead of -O2 avoids the problem.
>Release-Note:
>Audit-Trail:
>Unformatted: