This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/59760] use_thunk internal error on default destructor declarations
- From: "sshannin at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 13 Jan 2014 14:31:18 +0000
- Subject: [Bug c++/59760] use_thunk internal error on default destructor declarations
- Auto-submitted: auto-generated
- References: <bug-59760-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59760
--- Comment #3 from sshannin at gmail dot com ---
Created attachment 31821
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31821&action=edit
Preprocessed source
Preprocessed source of compilation from example in previous link.
Source (no includes):
template <class> struct A {
virtual ~A();
};
template <class... Ts> struct B : A<Ts>... {
~B() = default;
};
struct C : B<int, char> {
C() {}
};
int main( int , char **)
{
C c;
}
Compiled with:
g++-4.8.2 -std=c++0x -O0 -g3 -Wall -c -o sample.o sample.cpp