public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/31992]  New: [4.1/4.2/4.3 regression] ICE initializing static variable of template class
@ 2007-05-18 21:52 reichelt at gcc dot gnu dot org
  2007-05-18 21:53 ` [Bug c++/31992] " 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 @ 2007-05-18 21:52 UTC (permalink / raw)
  To: gcc-bugs

The following valid code snippet triggers a segfault since GCC 4.1.2:

=============================================
template<int> struct A
{
    static const int i;
};

template<int N> const int A<N>::i( A::i );
=============================================

bug.cc:6: internal compiler error: Segmentation fault
Please submit a full bug report, [etc.]


-- 
           Summary: [4.1/4.2/4.3 regression] ICE initializing static
                    variable of template class
           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=31992


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

end of thread, other threads:[~2008-07-04 16:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-18 21:52 [Bug c++/31992] New: [4.1/4.2/4.3 regression] ICE initializing static variable of template class reichelt at gcc dot gnu dot org
2007-05-18 21:53 ` [Bug c++/31992] " reichelt at gcc dot gnu dot org
2007-06-29 18:30 ` mmitchel at gcc dot gnu dot org
2007-07-05 20:05 ` brolley at redhat dot com
2007-07-06  1:24 ` mmitchel at gcc dot gnu dot org
2007-07-06  1:36 ` [Bug c++/31992] [4.1/4.2 " mmitchel at gcc dot gnu dot org
2007-07-07  2:03 ` mmitchel at gcc dot gnu dot org
2008-07-04 16:07 ` [Bug c++/31992] [4.1 " jsm28 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).