public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "gcc dot gnu dot org at chosenones dot dyndns dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/28048]  New: ICC on accessing member of dependent name
Date: Fri, 16 Jun 2006 02:04:00 -0000	[thread overview]
Message-ID: <bug-28048-12836@http.gcc.gnu.org/bugzilla/> (raw)

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


             reply	other threads:[~2006-06-16  0:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-16  2:04 gcc dot gnu dot org at chosenones dot dyndns dot org [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-28048-12836@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).