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]

ICE in insn_default_length, at insn-attrtab.c:223


gcc -v says:

Reading specs from /usr/lib/gcc-lib/i386-linux/3.0.1/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-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.1 20010728 (Debian prerelease)

System type is Debian GNU/Linux (i386, unstable)
  kernel 2.2.19
  libc6 2.2.3-9
  gcc-3.0 3.0.1-0pre010727
  binutils 2.11.90.0.24-1

Once again, I'm trying to build XFree86 4.1.0, this time using the Debian
build scripts.  The full gcc command (after taking into account the options
passed by the pentium-builder wrapper) is:

gcc -mcpu=k6 -march=k6 --save-temps -O2 -fno-strength-reduce -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs     -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   -DFUNCPROTO=15 -DNARROWPROTO   -DXENVIRONMENT    -c -o lexer.o lexer.c

The output is:

In file included from lexer.l:45:
pswpriv.h:136: warning: redundant redeclaration of `ifile' in same scope
pswpriv.h:135: warning: previous declaration of `ifile'
pswpriv.h:147: warning: redundant redeclaration of `errorCount' in same scope
pswpriv.h:144: warning: previous declaration of `errorCount'
pswpriv.h:152: warning: redundant redeclaration of `yylineno' in same scope
lexer.c:271: warning: previous declaration of `yylineno'
lexer.l: In function `yylex':
lexer.l:349: warning: unsigned int format, long int arg (arg 3)
lexer.l:358: warning: unsigned int format, long int arg (arg 3)
lexer.l:928: Unrecognizable insn:
(insn 6350 5725 6351 (parallel[ 
            (set (reg:SI 1 edx [931])
                (const_int 0 [0x0]))
            (clobber (reg:CC 17 flags))
        ] ) -1 (nil)
    (expr_list:REG_UNUSED (reg:CC 17 flags)
        (nil)))
lexer.l:928: Internal compiler error in insn_default_length, at insn-attrtab.c:223
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

I have attached lexer.i.gz.

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

lexer.i.gz

PGP signature


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