This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Internal compiler error in `extract_insn' (Solaris x86)
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Internal compiler error in `extract_insn' (Solaris x86)
- From: James Macnicol <jamesm at ee dot adfa dot edu dot au>
- Date: Thu, 13 Apr 2000 16:10:30 +1000 (EST)
I'm sorry for taking so long to report this but this has been a
bug that has existed in the egcs snapshots for quite some time :
------------------------------ cut here --------------------------------------
c++ -Wall -funroll-loops -v --save-temps -D_REENTRANT -fPIC -DHAVE_IOSTREAM -DHAVE_FSTREAM -DHAVE_STRCASECMP -DHAVE_STRDUP -DNOGUI -O -DDEBUG -DDEBUG_GET -DDEBUG_EMIT -c h263lib.cpp
Reading specs from /usr/local/lib/gcc-lib/i386-pc-solaris2.8/2.96/specs
gcc version 2.96 20000410 (experimental)
/usr/local/lib/gcc-lib/i386-pc-solaris2.8/2.96/cpp -lang-c++ -v -D__GNUC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=96 -D__GNUC_PATCHLEVEL__=0 -D__cplusplus -Dunix -D__svr4__ -D__SVR4 -Dsun -D__unix__ -D__svr4__ -D__SVR4 -D__sun__ -D__unix -D__sun -Asystem(svr4) -D__EXCEPTIONS -D__OPTIMIZE__ -Wall -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -D__tune_i386__ -D_REENTRANT -DHAVE_IOSTREAM -DHAVE_FSTREAM -DHAVE_STRCASECMP -DHAVE_STRDUP -DNOGUI -DDEBUG -DDEBUG_GET -DDEBUG_EMIT h263lib.cpp h263lib.ii
GNU CPP version 2.96 20000410 (experimental) (cpplib)
(i386 System V Release 4)
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include/g++-3
/usr/local/include
/usr/local/lib/gcc-lib/i386-pc-solaris2.8/2.96/include
/usr/local/i386-pc-solaris2.8/include
/usr/include
End of search list.
/usr/local/lib/gcc-lib/i386-pc-solaris2.8/2.96/cc1plus h263lib.ii -quiet -dumpbase h263lib.cc -O -Wall -version -funroll-loops -fPIC -o h263lib.s
GNU C++ version 2.96 20000410 (experimental) (i386-pc-solaris2.8) compiled by GNU C version 2.96 20000410 (experimental).
h263lib.cpp: In function `void DCTPlane (CPlane<short int> &,
h263lib.cpp: DCTMethod)':
h263lib.cpp:635: Unrecognizable insn:
(insn 1032 1031 1036 (parallel[
(set (reg:SI 320)
(const_int 0 [0x0]))
(use (reg:SI 320))
(set (reg:SI 318)
(plus:SI (reg:SI 307)
(ashift:SI (reg:SI 320)
(const_int 2 [0x2]))))
(set (reg:SI 319)
(plus:SI (reg:SI 319)
(ashift:SI (reg:SI 320)
(const_int 2 [0x2]))))
(set (mem:BLK (reg:SI 310) 0)
(mem:BLK (reg:SI 319) 0))
(use (reg:SI 19 dirflag))
] ) -1 (insn_list 1029 (insn_list 1030 (insn_list 1031 (nil))))
(expr_list:REG_DEAD (reg:SI 19 dirflag)
(expr_list:REG_UNUSED (reg:SI 320)
(expr_list:REG_UNUSED (reg:SI 318)
(expr_list:REG_UNUSED (reg:SI 319)
(nil))))))
h263lib.cpp:635: Internal compiler error in `extract_insn', at
h263lib.cpp:635: recog.c:2044
h263lib.cpp:635: Please submit a full bug report.
h263lib.cpp:635: See <URL:http://www.gnu.org/software/gcc/bugs.html>
h263lib.cpp:635: for instructions.
make: *** [h263lib.ii] Error 1
------------------------------ cut here --------------------------------------
miranda(0):~/video/u263% uname -a
SunOS miranda 5.8 Generic i86pc i386 i86pc
I've seen this with earlier snapshots on Solaris 7 too. egcs is compiled
with "--with-dwarf2 --with-gnu-as". This bug only appears with "-O", not
"-O2" or "-gdwarf-2".
See http://www.ozemail.com.au/~sigsegv/h263lib.ii.bz2
--
James Macnicol
j-macnicol@adfa.edu.au