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]

internal compiler error: unrecognized insn


(Long lines have been split for readability.  This is actually a build of
XFree86 4.1.0, not CVS as the directory name implies.)

jekyll:/usr/local/cvs/xfree86/xc/programs/Xserver/hw/xfree86/drivers/s3virge$ gcc-3.0 -v
Reading specs from /usr/lib/gcc-lib/i386-linux/3.0/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,proto,objc --prefix=/usr
--infodir=/share/info --mandir=/share/man --enable-shared
--with-gnu-as --with-gnu-ld --with-system-zlib --enable-long-long
--enable-nls --without-x --without-included-gettext --disable-checking
--enable-threads=posix --enable-java-gc=boehm --with-cpp-install-dir=bin
--enable-objc-gc i386-linux
Thread model: posix
gcc version 3.0 20010526 (Debian prerelease)

jekyll:/usr/local/cvs/xfree86/xc/programs/Xserver/hw/xfree86/drivers/s3virge$ make all
rm -f s3v_dac.o
gcc-3.0 -c -O3 -funroll-loops -march=k6
-ansi -pedantic -Wall -Wpointer-arith
-I. -I../../../../../../programs/Xserver/hw/xfree86/common
-I../../../../../../programs/Xserver/hw/xfree86/os-support
-I../../../../../../programs/Xserver/mfb
-I../../../../../../programs/Xserver/mi
-I../../../../../../programs/Xserver/cfb
-I../../../../../../programs/Xserver/hw/xfree86/xaa
-I../../../../../../programs/Xserver/fb
-I../../../../../../programs/Xserver/hw/xfree86/xf1bpp
-I../../../../../../programs/Xserver/hw/xfree86/xf4bpp
-I../../../../../../programs/Xserver/hw/xfree86/xf24_32bpp
-I../../../../../../programs/Xserver/Xext
-I../../../../../../programs/Xserver/hw/xfree86/vgahw
-I../../../../../../programs/Xserver/hw/xfree86/ramdac
-I../../../../../../programs/Xserver/hw/xfree86/ddc
-I../../../../../../programs/Xserver/hw/xfree86/i2c
-I../../../../../../programs/Xserver/hw/xfree86/rac
-I../../../../../../programs/Xserver/hw/xfree86/int10
-I../../../../../../programs/Xserver/include
-I../../../../../../exports/include/X11 -I../../../../../../include/fonts
-I../../../../../../include/extensions
-I../../../../../../programs/Xserver/hw/xfree86/os-support/vbe
-I../../../../../../programs/Xserver/hw/xfree86/shadowfb
-I../../../../../../programs/Xserver/render
-I../../../../../.. -I../../../../../../exports/include  -Dlinux
-D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE
-D_BSD_SOURCE -D_SVID_SOURCE  -D_GNU_SOURCE  -DSHAPE -DXINPUT -DXKB
-DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP  -DXF86BIGFONT -DDPMSExtension
-DPIXPRIV -DPANORAMIX  -DRENDER -DGCCUSESGAS -DAVOID_GLYPHBLT
-DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86LOADER
-DXFree86Server -DXF86VIDMODE  -DSMART_SCHEDULE -DBUILDDEBUG
-DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG  -DFUNCPROTO=15 -DNARROWPROTO
-DIN_MODULE -DXFree86Module -DPSZ=8   s3v_dac.c
s3v_dac.c: In function `S3VCommonCalcClock':
s3v_dac.c:110: Unrecognizable insn:
(insn 585 583 587 (set (reg:SI 212)
        (zero_extend:SI (reg/v:QI 59))) -1 (nil)
    (nil))
s3v_dac.c:110: Internal compiler error in extract_insn, at recog.c:2210
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make: *** [s3v_dac.o] Error 1

This file causes gcc to bomb with "-O2 -funroll-loops -march=k6" or
higher; if I drop to "-O" or if I omit either of the other two options,
it does not crash.

I've already reported this as Debian Bug#100166
(http://bugs.debian.org/100166).

Some of the other driver files in XFree86 4.1.0 also cause gcc-3.0 to
abort with the same "-O3 -funroll-loops -march=k6" options.  One of the
drivers even caused a crash with only "-O -funroll-loops -march=k6".

The .i is attached.

-- 
Greg Wooledge                  |   "Truth belongs to everybody."
greg@wooledge.org              |    - The Red Hot Chili Peppers
http://wooledge.org/~greg/     |

s3v_dac.i.gz

PGP signature


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