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 bootstrap/54795] [4.8 Regression] Random profiledbootstrap failure with LTO


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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu.org

--- Comment #9 from H.J. Lu <hjl.tools at gmail dot com> 2012-11-17 16:47:54 UTC ---
==17715== Invalid read of size 8
==17715==    at 0x6B2522: output_symtab() (lto-cgraph.c:589)
==17715==    by 0x6B87B5: lto_output() (lto-streamer-out.c:1000)
==17715==    by 0x6E2307: ipa_write_optimization_summaries_1(opt_pass*,
lto_out_decl_state*) (passes.c:2542)
==17715==    by 0x6E3257:
ipa_write_optimization_summaries(lto_symtab_encoder_d*) (passes.c:2589)
==17715==    by 0x4EA5AA: lto_main() (lto.c:2693)
==17715==    by 0x76FC45: compile_file() (toplev.c:545)
==17715==    by 0x7717E7: toplev_main(int, char**) (toplev.c:1881)
==17715==    by 0x38F3A21674: (below main) (in /usr/lib64/libc-2.15.so)
==17715==  Address 0xb5caccc is not stack'd, malloc'd or (recently) free'd

 588   bp = bitpack_create (ob->main_stream);
 589   bp_pack_value (&bp, ref->use, 2);
 590   streamer_write_bitpack (&bp);
 591   nref = lto_symtab_encoder_lookup (encoder, ref->referred);
 592   gcc_assert (nref != LCC_NOT_FOUND);
 593   streamer_write_hwi_stream (ob->main_stream, nref);

(gdb) p ref
$1 = (ipa_ref *) 0xb5cacb0
(gdb) p ref->use
$2 = IPA_REF_LOAD
(gdb) p &ref->use
$3 = (ipa_ref_use *) 0xb5caccc
(gdb)


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