[Bug c++/10249] [ppc] -gxcoff switch causes parser to abort

dhazeghi@yahoo.com gcc-bugzilla@gcc.gnu.org
Thu May 22 00:37:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10249



------- Additional Comments From dhazeghi@yahoo.com  2003-05-22 00:29 -------
Hello,

I can reproduce this problem both on gcc 3.3 branch and mainline (20030520) i686-linux to 
powerpc-aix4.3 cross compilers. Here's a backtrace from mainline:

#0  host_integerp (t=0x0, pos=0) at ../../gcc/gcc/tree.c:3263
#1  0x082e7f27 in tree_low_cst (t=0x0, pos=0) at ../../gcc/gcc/tree.c:3282
#2  0x0816eeeb in dbxout_type (type=0x401c615c, full=1)
    at ../../gcc/gcc/dbxout.c:1657
#3  0x08170293 in dbxout_symbol (decl=0x401c6244, local=0)
    at ../../gcc/gcc/dbxout.c:2124
#4  0x082db158 in rest_of_type_compilation (type=0x401c615c, toplev=1)
    at ../../gcc/gcc/toplev.c:2406
#5  0x080b2875 in finish_struct_1 (t=0x401c615c)
    at ../../gcc/gcc/cp/class.c:5213
#6  0x080b3451 in finish_struct (t=0x401c615c, attributes=0x0)
    at ../../gcc/gcc/cp/class.c:5271
#7  0x0810a381 in finish_class_definition (t=0x401c615c, attributes=0x0, 
    semi=1, pop_scope_p=0) at ../../gcc/gcc/cp/semantics.c:2033
#8  0x080d9e0b in cp_parser_class_specifier (parser=0x401c4600)
    at ../../gcc/gcc/cp/parser.c:11473
#9  0x080d730a in cp_parser_type_specifier (parser=0x401c4600, 
    flags=CP_PARSER_FLAGS_OPTIONAL, is_friend=false, is_declaration=true, 
    declares_class_or_enum=0xbffff8fa, is_cv_qualifier=0xbffff8fb)
    at ../../gcc/gcc/cp/parser.c:8468
#10 0x080d5c63 in cp_parser_decl_specifier_seq (parser=0x401c4600, 
    flags=CP_PARSER_FLAGS_OPTIONAL, attributes=0xbffff934, 
    declares_class_or_enum=0xbffff93b) at ../../gcc/gcc/cp/parser.c:6802

I hope this helps someone!

Dara




------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the Gcc-bugs mailing list