public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "doko at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/60108] New: ICE in use_thunk, at cp/method.c:340
Date: Fri, 07 Feb 2014 16:17:00 -0000	[thread overview]
Message-ID: <bug-60108-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 60108
           Summary: ICE in use_thunk, at cp/method.c:340
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: doko at gcc dot gnu.org

seen with trunk and current 4.7 and 4.8 branches.

$ g++ -std=c++0x -c sample.cpp
sample.cpp:5:3: internal compiler error: in use_thunk, at cp/method.c:340
   ~B() = default;
   ^
Please submit a full bug report,
with preprocessed source if appropriate.


template <class> struct A {
  virtual ~A();
};
template <class... Ts> struct B : A<Ts>... {
  ~B() = default;
};
struct C : B<int, char> {
  C() {}
};


             reply	other threads:[~2014-02-07 16:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-07 16:17 doko at gcc dot gnu.org [this message]
2014-02-14 23:35 ` [Bug c++/60108] [4.7/4.8/4.9 Regression] [C++11] " reichelt at gcc dot gnu.org
2014-02-21 21:58 ` jason at gcc dot gnu.org
2014-02-21 22:15 ` jason at gcc dot gnu.org
2014-02-22  5:02 ` jason at gcc dot gnu.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-60108-4@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).