public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "veksler at il dot ibm.com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/55639] Partial nested template specialization leads to segmentation fault of g++
Date: Mon, 10 Dec 2012 14:18:00 -0000	[thread overview]
Message-ID: <bug-55639-4-VTHbQo0sog@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-55639-4@http.gcc.gnu.org/bugzilla/>


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

Michael Veksler <veksler at il dot ibm.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |veksler at il dot ibm.com

--- Comment #2 from Michael Veksler <veksler at il dot ibm.com> 2012-12-10 14:18:07 UTC ---
I have a possibly similar test case (can someone confirm if my case is a DUP?).


--- t.cpp --
template <typename T>
struct A {
   template <int a>
   struct B;
};

template <typename T>
struct A<T>::template B<0> {
   int foo();
};

---- end --

$ /opt/gcc4.7.2/bin/g++ t.cpp
t.cpp:8:23: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

$/opt/gcc4.7.2/bin/g++ -v
Using built-in specs.
COLLECT_GCC=/opt/gcc4.7.2/bin/g++
COLLECT_LTO_WRAPPER=/opt/gcc4.7.2/libexec/gcc/x86_64-unknown-linux-gnu/4.7.2/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-4.7.2/configure --prefix=/opt/gcc4.7.2
Thread model: posix
gcc version 4.7.2 (GCC)


  parent reply	other threads:[~2012-12-10 14:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-10 13:24 [Bug c++/55639] New: " mk at nopw dot de
2012-12-10 13:40 ` [Bug c++/55639] " paolo.carlini at oracle dot com
2012-12-10 14:18 ` veksler at il dot ibm.com [this message]
2012-12-10 14:23 ` paolo.carlini at oracle dot com

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-55639-4-VTHbQo0sog@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).