[Bug c++/59760] use_thunk internal error on default destructor declarations
sshannin at gmail dot com
gcc-bugzilla@gcc.gnu.org
Mon Jan 13 14:31:00 GMT 2014
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
More information about the Gcc-bugs
mailing list