ICE in g++ 2.95.2 with flag_do_squangling (part 1)
Zow Terry Brugger
zow@pensive.llnl.gov
Mon Apr 24 16:23:00 GMT 2000
Good day,
I'm getting an internal compiler in g++ 2.95.2 on an IRIX 6.5.6m box.
gcc was built using the SGI cc compiler 7.3.1.1m on an IRIX 6.5.7m box. I
changed decl2.c as specified at http://gcc.gnu.org/fom_serv/cache/41.html as a
previous installation of 2.95.2 would generate asm errors due to symbol names
that were too long. The modified decl2.c is attached (in case I modified it
incorrectly). The make bootstrap worked without incident. The code in question
is heavily templated. I suspect that the problem stems from a template
instantiation that's incompatible with the sqangling. The compile line in
question is:
g++ -v --save-temps -g2 -O0 -ffor-scope -DSGI -I/usr/include
-I/usr/local/include -c Attribute.C -o Attribute.o
The complete compiler output (mostly string warnings that don't concern me too
much) is attached. I'm sending the compressed Attribute.ii file and the
compressed decl2.c as parts 2 and 3 respectively, due to size.
If I can provide any other information that may be of assistance, feel free to
ask.
Best regards,
"Zow" Terry Brugger
zow@acm.org
zow@llnl.gov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00000.pgp
Type: text/x-c
Size: 8761 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20000424/4bd6c1fb/attachment.bin>
More information about the Gcc-bugs
mailing list