public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/51224] New: ICE with local struct and -flto
@ 2011-11-19 19:40 reichelt at gcc dot gnu.org
  2012-01-04  1:13 ` [Bug lto/51224] " pinskia at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: reichelt at gcc dot gnu.org @ 2011-11-19 19:40 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 51224
           Summary: ICE with local struct and -flto
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: reichelt@gcc.gnu.org


The following code snippet triggers an ICE when compiled with "-flto -g" since
the introduction of LTO (GCC 4.5.0):

=========================================
void foo()
{
  struct A
  {
    typedef void (*F)();
    static F bar() { return 0; }
  };

  A::bar();
}
=========================================

bug.cc:10:1: internal compiler error: in dwarf2out_finish, at dwarf2out.c:21346
Please submit a full bug report, [etc.]


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug lto/51224] ICE with local struct and -flto
  2011-11-19 19:40 [Bug lto/51224] New: ICE with local struct and -flto reichelt at gcc dot gnu.org
@ 2012-01-04  1:13 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-01-04  1:13 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-04 01:13:06 UTC ---
Fixed by the patches which fixed PR 51650.

*** This bug has been marked as a duplicate of bug 51650 ***


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-01-04  1:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-19 19:40 [Bug lto/51224] New: ICE with local struct and -flto reichelt at gcc dot gnu.org
2012-01-04  1:13 ` [Bug lto/51224] " pinskia at gcc dot gnu.org

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).