public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/51228] New: [4.5/4.6/4.7 Regression] ICE with transparent union
@ 2011-11-19 21:13 reichelt at gcc dot gnu.org
  2011-12-05 14:15 ` [Bug c++/51228] " rguenth at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: reichelt at gcc dot gnu.org @ 2011-11-19 21:13 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 51228
           Summary: [4.5/4.6/4.7 Regression] ICE with transparent union
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: reichelt@gcc.gnu.org


The following code snippet triggers an ICE since GCC 4.5.0:

==========================================================
typedef union {} U __attribute__((transparent_union));

void foo(U u) {}
==========================================================

bug.cc: In function 'void foo(U)':
bug.cc:3:6: internal compiler error: Segmentation fault
Please submit a full bug report, [etc.]


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

end of thread, other threads:[~2012-10-09 15:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-19 21:13 [Bug c++/51228] New: [4.5/4.6/4.7 Regression] ICE with transparent union reichelt at gcc dot gnu.org
2011-12-05 14:15 ` [Bug c++/51228] " rguenth at gcc dot gnu.org
2011-12-06 14:04 ` rguenth at gcc dot gnu.org
2011-12-14 22:58 ` jason at gcc dot gnu.org
2011-12-17 20:50 ` jason at gcc dot gnu.org
2011-12-19 20:12 ` jason at gcc dot gnu.org
2011-12-19 21:52 ` [Bug c++/51228] [4.5/4.6 " jakub at gcc dot gnu.org
2012-06-04 21:45 ` paolo.carlini at oracle dot com
2012-07-02 12:05 ` rguenth at gcc dot gnu.org
2012-10-09 15:53 ` [Bug c++/51228] [4.6 " paolo.carlini at oracle dot com

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