This is the mail archive of the gcc-help@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]
Other format: [Raw text]

Internal Compiler Error workarounds?


Hi All,

I'm attempting to compile the latest Crypto++ [1] on Ubuntu 11.04 (GCC
4.5.2), and I received the following panic.

What should I attempt to tweak so that different `insn instructions`
(?) are generated in an attempt to side step the issue?
`-mtune=native` did not help.

Jeff

$ export PREFIX=/usr/local; make
g++ -DNDEBUG -g -O2 -m32 -mtune=pentium4 -pipe -c 3way.cpp
g++ -DNDEBUG -g -O2 -m32 -mtune=pentium4 -pipe -c adler32.cpp
g++ -DNDEBUG -g -O2 -m32 -mtune=pentium4 -pipe -c algebra.cpp
g++ -DNDEBUG -g -O2 -m32 -mtune=pentium4 -pipe -c algparam.cpp
g++ -DNDEBUG -g -O2 -m32 -mtune=pentium4 -pipe -c arc4.cpp
g++ -DNDEBUG -g -O2 -m32 -mtune=pentium4 -pipe -c asn.cpp
asn.cpp: In member function ‘void
CryptoPP::OID::DEREncode(CryptoPP::BufferedTransformation&) const’:
asn.cpp:254:1: error: unrecognizable insn:
(insn 194 178 195 2 asn.cpp:248 (set (reg:SI 2 cx)
        (mem:QI (plus:SI (reg/f:SI 1 dx [orig:61 D.44160 ] [61])
                (const_int 4 [0x4])) [16 S1 A32])) -1 (nil))
asn.cpp:254:1: internal compiler error: in extract_insn, at recog.c:2104
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.5/README.Bugs> for instructions.
make: *** [asn.o] Error 1

[1] svn checkout
https://cryptopp.svn.sourceforge.net/svnroot/cryptopp/trunk/c5
cryptopp


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