public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/35074]  New: [4.3 regression] ICE with attribute "aligned" for template classes
@ 2008-02-04 13:16 reichelt at gcc dot gnu dot org
  2008-02-04 13:17 ` [Bug c++/35074] " reichelt at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-02-04 13:16 UTC (permalink / raw)
  To: gcc-bugs

The following valid code snippet triggers an ICE on mainline:

==========================================
template<typename T> struct A
{
  void foo() const;
} __attribute((aligned(4)));

template<typename T> void A<T>::foo() const {}
==========================================

bug.cc:6: internal compiler error: canonical types differ for identical types
const A<T> and const A<T>
Please submit a full bug report, [etc.]

The ICE is pretty recent, it appeared between 2008-01-22 and 2008-01-28.


-- 
           Summary: [4.3 regression] ICE with attribute "aligned" for
                    template classes
           Product: gcc
           Version: 4.3.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=35074


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

end of thread, other threads:[~2008-02-05 13:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-04 13:16 [Bug c++/35074] New: [4.3 regression] ICE with attribute "aligned" for template classes reichelt at gcc dot gnu dot org
2008-02-04 13:17 ` [Bug c++/35074] " reichelt at gcc dot gnu dot org
2008-02-04 13:19 ` reichelt at gcc dot gnu dot org
2008-02-04 13:43 ` rguenth at gcc dot gnu dot org
2008-02-04 13:59 ` reichelt at gcc dot gnu dot org
2008-02-04 23:32 ` dgregor at gcc dot gnu dot org
2008-02-05 13:31 ` dgregor at gcc dot gnu dot org
2008-02-05 13:31 ` dgregor at gcc dot gnu dot 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).