[Bug c++/23457] [3.4/4.0/4.1 Regression] compiler crash on huge object size with virtual base

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Aug 18 12:01:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-18 11:58 -------
Confirmed, backtrace:
#0  internal_error (msgid=0x83f0f38 "tree_low_cst") at ../../gcc/diagnostic.c:536
#1  0x08127c4f in fancy_abort (file=0x83f0f38 "tree_low_cst", line=3313, function=0x83f0f38 
"tree_low_cst") at ../../gcc/diagnostic.c:584
#2  0x082d0a74 in tree_low_cst (t=0xb7d1d99c, pos=138350392) at ../../gcc/tree.c:3313
#3  0x080b0c47 in make_thunk (function=0xb7d1f870, this_adjusting=true, fixed_offset=0x83f0f38, 
virtual_offset=0xb7d1dcf8) at ../../gcc/cp/method.c:121
#4  0x0808276a in accumulate_vtbl_inits (binfo=0xb7d14fc0, orig_binfo=0xb7d14fc0, 
rtti_binfo=0xb7d14f80, t=0xb7d1a8dc, inits=0xb7d1da8c)
    at ../../gcc/cp/class.c:7390
#5  0x08084117 in finish_struct_1 (t=0xb7d1a8dc) at ../../gcc/cp/class.c:6705
#6  0x08084de8 in finish_struct (t=0xb7d1a8dc, attributes=0x83f0f38) at ../../gcc/cp/class.c:5175
#7  0x080938d3 in cp_parser_type_specifier (parser=0xb7d14740, 
flags=CP_PARSER_FLAGS_OPTIONAL, is_friend=false, is_declaration=true, 
    declares_class_or_enum=0xbfffe7c4, is_cv_qualifier=0xb7d7e2a8) at ../../gcc/cp/parser.c:11763
#8  0x08094afe in cp_parser_decl_specifier_seq (parser=0xb7d14740, 
flags=CP_PARSER_FLAGS_OPTIONAL, attributes=0xbfffe7f8, declares_class_or_enum=0xbfffe7fc)
    at ../../gcc/cp/parser.c:6711
#9  0x08094da2 in cp_parser_simple_declaration (parser=0xb7d14740, 
function_definition_allowed_p=true) at ../../gcc/cp/parser.c:6437
#10 0x08094f68 in cp_parser_block_declaration (parser=0xb7d14740, statement_p=false) at ../../gcc/
cp/parser.c:6397
#11 0x0809a2df in cp_parser_declaration (parser=0xb7d14740) at ../../gcc/cp/parser.c:6317
#12 0x0809a55f in cp_parser_declaration_seq_opt (parser=0xb7d14740) at ../../gcc/cp/parser.c:6226
#13 0x0809a72b in c_parse_file () at ../../gcc/cp/parser.c:2319
#14 0x080ec0e2 in c_common_parse_file (set_yydebug=138350392) at ../../gcc/c-opts.c:1237
#15 0x082cc21d in toplev_main (argc=138350392, argv=0xbfffec73) at ../../gcc/toplev.c:1822
#16 0x080ef8de in main (argc=138350392, argv=0x83f0f38) at ../../gcc/main.c:35


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-invalid-code,
                   |                            |monitored
      Known to fail|                            |3.4.0 4.0.0 4.1.0
      Known to work|                            |3.3.3
   Last reconfirmed|0000-00-00 00:00:00         |2005-08-18 11:58:12
               date|                            |
            Summary|compiler crash on huge      |[3.4/4.0/4.1 Regression]
                   |object size with virtual    |compiler crash on huge
                   |base                        |object size with virtual
                   |                            |base
   Target Milestone|---                         |4.0.2


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



More information about the Gcc-bugs mailing list