public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/28048]  New: ICC on accessing member of dependent name
@ 2006-06-16  2:04 gcc dot gnu dot org at chosenones dot dyndns dot org
  2006-06-16 10:47 ` [Bug c++/28048] ICE " rguenth at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: gcc dot gnu dot org at chosenones dot dyndns dot org @ 2006-06-16  2:04 UTC (permalink / raw)
  To: gcc-bugs

The testcase below generates a segmentation fault in g++ 4.0.0 to 4.2.0.

/tmp/test.cpp:3: internal compiler error: Segmentation fault

--GCC Info--
Version: g++ (GCC) 4.2.0 20060615 (experimental) SVN revision 114692
(Also tested on g++ (GCC) 4.0.2 20051125 (Red Hat 4.0.2-8))

Configure command: ../configure --prefix=`pwd`/../install
--enable-languages=c++
System: Linux 2.6.16-1.2111_FC4 #1 Sat May 20 19:59:40 EDT 2006 i686 i686 i386
GNU/Linux

--Testcase--
template<typename T> struct Boom;

template<typename T, bool D = Boom<T>::Internal::Value> // <--ICE
    struct Foo
{
};

template<typename T> struct Boom
{
    struct Internal
    {
        static const bool Value = false;
    };
};


-- 
           Summary: ICC on accessing member of dependent name
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gcc dot gnu dot org at chosenones dot dyndns dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

end of thread, other threads:[~2007-02-03 17:38 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-16  2:04 [Bug c++/28048] New: ICC on accessing member of dependent name gcc dot gnu dot org at chosenones dot dyndns dot org
2006-06-16 10:47 ` [Bug c++/28048] ICE " rguenth at gcc dot gnu dot org
2006-06-16 13:06 ` [Bug c++/28048] [4.0/4.1/4.2 Regression] " gcc dot gnu dot org at chosenones dot dyndns dot org
2006-06-16 17:44 ` pinskia at gcc dot gnu dot org
2006-07-17  2:42 ` mmitchel at gcc dot gnu dot org
2006-07-19  0:35 ` mmitchel at gcc dot gnu dot org
2006-07-19  5:15 ` mmitchel at gcc dot gnu dot org
2006-07-19  5:18 ` [Bug c++/28048] [4.0/4.1 " mmitchel at gcc dot gnu dot org
2006-07-19  6:43 ` [Bug c++/28048] [4.0 " mmitchel at gcc dot gnu dot org
2006-07-19  6:43 ` [Bug c++/28048] [4.0/4.1 " mmitchel at gcc dot gnu dot org
2007-02-03 17:38 ` [Bug c++/28048] [4.0 " gdr 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).