This is the mail archive of the 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]

Re: More memory reductions on PR c++/12850

> On what tree do you see this?

According to gcc-testresults, the failures have been present on mainline and 
3.4 branch since 01/30.  I personally see them on 3.4 branch.

> and when didi you updated? 

Yesterday morning.

> The patch require spearate patch to reorder code emitting
> thunks and for short period of time I managed to put this patch to
> branch without commiting the companion patch, but it shall be fixed now.

Looks like it is not fixed.  Here's a backtrace from a cross-compiler on x86:

(gdb) run ../covariant2.C
Starting program: /home/eric/cvs/gcc-3_4-branch/obj.sparc/gcc/cc1plus 
Breakpoint 2 at 0x4004c4e2
Breakpoint 3 at 0x4004b210
 virtual c1* c3::f6()
 virtual c3* c7::f6()
 virtual c6* c24::f6()
 c6* c24::_ZTch0_v0_n12_N3c242f6Ev()
 c6* c24::_ZTcv0_n16_v0_n12_N3c242f6Ev()

Breakpoint 1, fancy_abort (file=0x8416dca "../../gcc/cp/decl.c", line=10319,
    function=0x841bf40 "start_function") at ../../gcc/diagnostic.c:584
584       internal_error ("in %s, at %s:%d", function, trim_filename (file), 
(gdb) bt
#0  fancy_abort (file=0x8416dca "../../gcc/cp/decl.c", line=10319,
    function=0x841bf40 "start_function") at ../../gcc/diagnostic.c:584
#1  0x0808cf0c in start_function (declspecs=0x0, declarator=0x40266244,
    attrs=0x0, flags=1) at ../../gcc/cp/decl.c:10319
#2  0x0816a1a8 in use_thunk (thunk_fndecl=0x40266244, emit_p=true)
    at ../../gcc/cp/method.c:473
#3  0x0817ce6f in emit_associated_thunks (fn=0x40262488)
    at ../../gcc/cp/semantics.c:2862
#4  0x0817cf55 in expand_body (fn=0x40262488) at 
#5  0x083aff5d in cgraph_expand_function (node=0x40266b54)
    at ../../gcc/cgraphunit.c:534
#6  0x083af493 in cgraph_assemble_pending_functions ()
    at ../../gcc/cgraphunit.c:143
#7  0x083af5c6 in cgraph_finalize_function (decl=0x40262488, nested=false)
    at ../../gcc/cgraphunit.c:224
#8  0x0817d1b3 in expand_or_defer_fn (fn=0x40262488)
    at ../../gcc/cp/semantics.c:2984
#9  0x081302ca in cp_parser_function_definition_after_declarator (
    parser=0x40250b54, inline_p=false) at ../../gcc/cp/parser.c:14157
#10 0x08130181 in 
    (parser=0x40250b54, decl_specifiers=0x40267564, attributes=0x0,
    declarator=0x402675f0) at ../../gcc/cp/parser.c:14095
#11 0x08129951 in cp_parser_init_declarator (parser=0x40250b54,
    decl_specifiers=0x40267564, prefix_attributes=0x0,
    function_definition_allowed_p=true, member_p=false,
    declares_class_or_enum=0, function_definition_p=0xbffff520)
    at ../../gcc/cp/parser.c:9905
#12 0x081259c8 in cp_parser_simple_declaration (parser=0x40250b54,
    function_definition_allowed_p=true) at ../../gcc/cp/parser.c:6464
#13 0x081258f4 in cp_parser_block_declaration (parser=0x40250b54,
    statement_p=false) at ../../gcc/cp/parser.c:6380
#14 0x081257a1 in cp_parser_declaration (parser=0x40250b54)
    at ../../gcc/cp/parser.c:6300
#15 0x081255c4 in cp_parser_declaration_seq_opt (parser=0x40250b54)
    at ../../gcc/cp/parser.c:6209
#16 0x08120e0e in cp_parser_translation_unit (parser=0x40250b54)
    at ../../gcc/cp/parser.c:2309
#17 0x081320b4 in c_parse_file () at ../../gcc/cp/parser.c:15199
#18 0x081dd6b1 in c_common_parse_file (set_yydebug=0)
    at ../../gcc/c-opts.c:1235
#19 0x0836ff89 in compile_file () at ../../gcc/toplev.c:1805
#20 0x08375170 in do_compile () at ../../gcc/toplev.c:4626
#21 0x08375206 in toplev_main (argc=2, argv=0xbffff6d4)
    at ../../gcc/toplev.c:4666
#22 0x400391c4 in __libc_start_main () from /lib/

Eric Botcazou

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