public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/51650] [4.7 regression] LTO ICE in dwarf2out_finish, at dwarf2out.c:22501 while building libxul Date: Fri, 23 Dec 2011 11:52:00 -0000 [thread overview] Message-ID: <bug-51650-4-RrbmRyFNhc@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-51650-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51650 --- Comment #18 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-12-23 11:45:53 UTC --- Even for struct T; struct C { typedef ::T T; static T *m () { static T *d __attribute__((used)); return d; } }; int fn () { C::m (); } int main() {} the C++ frontend works fine with -fwhole-program -g, outputting debug information for C::m()::d (but in a way not accessible to gdb - huh): 16 int main() {} (gdb) ptype 'C::m()::d' type = <data variable, no debug info> (gdb) p 'C::m()::d' $1 = 0
next prev parent reply other threads:[~2011-12-23 11:46 UTC|newest] Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-12-21 20:32 [Bug lto/51650] New: [4.7 regression] " markus at trippelsdorf dot de 2011-12-21 20:36 ` [Bug debug/51650] [4.7 regression] LTO " pinskia at gcc dot gnu.org 2011-12-22 11:44 ` rguenth at gcc dot gnu.org 2011-12-22 12:01 ` rguenth at gcc dot gnu.org 2011-12-22 12:21 ` rguenth at gcc dot gnu.org 2011-12-22 12:54 ` markus at trippelsdorf dot de 2011-12-22 13:18 ` rguenth at gcc dot gnu.org 2011-12-22 13:26 ` markus at trippelsdorf dot de 2011-12-22 13:34 ` markus at trippelsdorf dot de 2011-12-22 13:43 ` rguenth at gcc dot gnu.org 2011-12-22 15:32 ` rguenth at gcc dot gnu.org 2011-12-22 15:34 ` rguenth at gcc dot gnu.org 2011-12-22 15:37 ` markus at trippelsdorf dot de 2011-12-22 18:47 ` markus at trippelsdorf dot de 2011-12-22 19:24 ` markus at trippelsdorf dot de 2011-12-23 9:19 ` rguenth at gcc dot gnu.org 2011-12-23 11:13 ` rguenth at gcc dot gnu.org 2011-12-23 11:23 ` rguenth at gcc dot gnu.org 2011-12-23 11:46 ` rguenth at gcc dot gnu.org 2011-12-23 11:52 ` rguenth at gcc dot gnu.org [this message] 2011-12-23 13:34 ` rguenth at gcc dot gnu.org 2011-12-23 14:03 ` markus at trippelsdorf dot de 2012-01-02 15:53 ` rguenth at gcc dot gnu.org 2012-01-02 16:53 ` markus at trippelsdorf dot de 2012-01-03 11:31 ` rguenth at gcc dot gnu.org 2012-01-03 11:31 ` rguenth at gcc dot gnu.org 2012-01-04 1:13 ` pinskia at gcc dot gnu.org
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-51650-4-RrbmRyFNhc@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: linkBe 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).