public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/35315]  New: [4.4 regression] ICE with attribute transparent_union
@ 2008-02-23 17:45 reichelt at gcc dot gnu dot org
  2008-02-23 17:45 ` [Bug c++/35315] " reichelt at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-02-23 17:45 UTC (permalink / raw)
  To: gcc-bugs

The following valid code snippet triggers an ICE on mainline:

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

static void foo(U) {}
static void foo(int) {}

void bar()
{
  foo(0);
}
=================================================================

bug.cc: In function 'void bar()':
bug.cc:8: internal compiler error: same canonical type node for different types
<anonymous union> and U
Please submit a full bug report, [etc.]


-- 
           Summary: [4.4 regression] ICE with attribute transparent_union
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, monitored
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <bug-35315-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2011-03-18 15:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-23 17:45 [Bug c++/35315] New: [4.4 regression] ICE with attribute transparent_union reichelt at gcc dot gnu dot org
2008-02-23 17:45 ` [Bug c++/35315] " reichelt at gcc dot gnu dot org
2008-02-25 18:12 ` jason at gcc dot gnu dot org
2008-02-26  7:17 ` dgregor at gcc dot gnu dot org
2008-02-26 18:10 ` jason at gcc dot gnu dot org
2008-02-29 21:43 ` dgregor at gcc dot gnu dot org
2008-03-01  5:39 ` dgregor at gcc dot gnu dot org
2008-03-01 16:30 ` dgregor at gcc dot gnu dot org
     [not found] <bug-35315-4@http.gcc.gnu.org/bugzilla/>
2011-03-18 15:07 ` jason 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).