public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/54795] [4.8 Regression] Random profiledbootstrap failure with LTO
Date: Sat, 17 Nov 2012 16:48:00 -0000	[thread overview]
Message-ID: <bug-54795-4-s19PbAgXQc@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-54795-4@http.gcc.gnu.org/bugzilla/>


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)


  parent reply	other threads:[~2012-11-17 16:48 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-03 14:32 [Bug bootstrap/54795] New: " hjl.tools at gmail dot com
2012-10-04 12:13 ` [Bug bootstrap/54795] " rguenth at gcc dot gnu.org
2012-10-11 17:41 ` ubizjak at gmail dot com
2012-10-11 17:54 ` hjl.tools at gmail dot com
2012-10-11 17:55 ` markus at trippelsdorf dot de
2012-11-16  0:34 ` hjl.tools at gmail dot com
2012-11-16 19:36 ` markus at trippelsdorf dot de
2012-11-17 15:48 ` hjl.tools at gmail dot com
2012-11-17 16:16 ` hjl.tools at gmail dot com
2012-11-17 16:30 ` hjl.tools at gmail dot com
2012-11-17 16:48 ` hjl.tools at gmail dot com [this message]
2012-11-17 17:20 ` hjl.tools at gmail dot com
2012-11-17 17:30 ` hjl.tools at gmail dot com
2012-11-18 13:16 ` hjl.tools at gmail dot com
2012-11-19 21:04 ` hjl.tools at gmail dot com
2012-11-21 21:53 ` markus at trippelsdorf dot de
2012-11-23 20:33 ` hjl.tools at gmail dot com
2012-11-24  9:18 ` markus at trippelsdorf dot de
2012-11-24 16:39 ` hjl.tools at gmail dot com
2012-11-24 16:49 ` hjl.tools at gmail dot com
2012-11-24 17:03 ` hjl.tools at gmail dot com
2012-11-24 19:48 ` [Bug bootstrap/54795] [4.8 Regression] LTO miscompiled external array access markus at trippelsdorf dot de
2012-11-25  7:34 ` hjl.tools at gmail dot com
2012-11-25 17:55 ` [Bug lto/54795] " hjl.tools at gmail dot com
2012-11-25 22:38 ` hjl.tools at gmail dot com
2012-11-25 22:40 ` hjl.tools at gmail dot com
2012-11-26 12:24 ` rguenth at gcc dot gnu.org
2012-11-26 13:29 ` hjl.tools at gmail dot com
2012-11-27 13:57 ` hjl at gcc dot gnu.org
2012-11-28 14:39 ` [Bug lto/54795] global-buffer-overflow in lto_write_options hjl at gcc dot gnu.org
2012-11-28 14:40 ` hjl.tools at gmail dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-54795-4-s19PbAgXQc@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).