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]
Other format: [Raw text]

[Bug debug/11473] [3.3/3.4 Regression] ICE with -gstabs when empty struct inheits from an empty struct


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

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



------- Additional Comments From bangerth at dealii dot org  2003-07-09 14:31 -------
Indeed confirmed with Andrew's small testcase. This is a regression w.r.t.
3.2, where it worked.

A backtrace on mainline looks like this:
#0  host_integerp (t=0x0, pos=0) at ../../gcc/gcc/tree.c:3251
#1  0x08600ca0 in ?? ()
#2  0x083b7cb9 in tree_low_cst (t=0x0, pos=0) at ../../gcc/gcc/tree.c:3270
#3  0x081b7750 in dbxout_type (type=0x403d98dc, full=1)
    at ../../gcc/gcc/dbxout.c:1659
#4  0x081b8ef5 in dbxout_symbol (decl=0x403d9a20, local=0)
    at ../../gcc/gcc/dbxout.c:2124
#5  0x083a8635 in rest_of_type_compilation (type=0x403d98dc, toplev=1077778976)
    at ../../gcc/gcc/toplev.c:2406
#6  0x080cf588 in finish_struct_1 (t=0x1) at ../../gcc/gcc/cp/class.c:5213
#7  0x080d0296 in finish_struct (t=0x403d98dc, attributes=0x0)
    at ../../gcc/gcc/cp/class.c:5271
#8  0x0813dd8a in finish_class_definition (t=0x403d98dc, attributes=0x0, 
    semi=1, pop_scope_p=0) at ../../gcc/gcc/cp/semantics.c:2033

So it's really a problem in the debug backends, rather than the C++ front
end (of course).

W.


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