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

--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> 2012-11-17 15:47:56 UTC ---
[hjl@gnu-mic-2 gcc]$ cat /tmp/x.c
int
main ()
{
}
[hjl@gnu-mic-2 gcc]$ ./xgcc -B./ -c -flto /tmp/x.c
==17373== Invalid read of size 8
==17373==    at 0x8E3FE6: streamer_pack_tree_bitfields(output_block*,
bitpack_d*, tree_node*) (tree-streamer-out.c:263)
==17373==    by 0x71FA5F: lto_output_tree(output_block*, tree_node*, bool,
bool) (lto-streamer-out.c:316)
==17373==    by 0x71F06B: write_global_stream(output_block*,
lto_tree_ref_encoder*) (lto-streamer-out.c:1057)
==17373==    by 0x721798: produce_asm_for_decls() (lto-streamer-out.c:1101)
==17373==    by 0x74A477: ipa_write_summaries_2(opt_pass*, lto_out_decl_state*)
(passes.c:2430)
==17373==    by 0x74B34D: ipa_write_summaries() (passes.c:2460)
==17373==    by 0x5ACA9B: compile() (cgraphunit.c:1908)
==17373==    by 0x5ACBA9: finalize_compilation_unit() (cgraphunit.c:2122)
==17373==    by 0x4E47DF: c_write_global_declarations() (c-decl.c:10128)
==17373==    by 0x7D7F4C: compile_file() (toplev.c:559)
==17373==    by 0x7D9AA7: toplev_main(int, char**) (toplev.c:1881)
==17373==    by 0x38F3A21674: (below main) (in /usr/lib64/libc-2.15.so)
==17373==  Address 0xb57c9da is not stack'd, malloc'd or (recently) free'd
==17373== 
==17373== Invalid read of size 8
==17373==    at 0x8E4103: streamer_pack_tree_bitfields(output_block*,
bitpack_d*, tree_node*) (tree-streamer-out.c:271)
==17373==    by 0x71FA5F: lto_output_tree(output_block*, tree_node*, bool,
bool) (lto-streamer-out.c:316)
==17373==    by 0x71F06B: write_global_stream(output_block*,
lto_tree_ref_encoder*) (lto-streamer-out.c:1057)
==17373==    by 0x721798: produce_asm_for_decls() (lto-streamer-out.c:1101)
==17373==    by 0x74A477: ipa_write_summaries_2(opt_pass*, lto_out_decl_state*)
(passes.c:2430)
==17373==    by 0x74B34D: ipa_write_summaries() (passes.c:2460)
==17373==    by 0x5ACA9B: compile() (cgraphunit.c:1908)
==17373==    by 0x5ACBA9: finalize_compilation_unit() (cgraphunit.c:2122)
==17373==    by 0x4E47DF: c_write_global_declarations() (c-decl.c:10128)
==17373==    by 0x7D7F4C: compile_file() (toplev.c:559)
==17373==    by 0x7D9AA7: toplev_main(int, char**) (toplev.c:1881)
==17373==    by 0x38F3A21674: (below main) (in /usr/lib64/libc-2.15.so)
==17373==  Address 0xb57c9db is not stack'd, malloc'd or (recently) free'd
==17373== 
[hjl@gnu-mic-2 gcc]$


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