This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/59760] use_thunk internal error on default destructor declarations


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

gaba <gaba at freemail dot hu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gaba at freemail dot hu

--- Comment #4 from gaba <gaba at freemail dot hu> ---
Created attachment 32263
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32263&action=edit
Sample 2

Similar code and same error message:

struct A {
    virtual ~A();
};
struct B {
    virtual ~B();
};
template <int a = 1> struct C : A, B {
    ~C() = default;
};
struct D : C<> {
};

int main( int , char **)
{
    D d;
}

Both samples working properly with GCC 4.9 (svn r208316).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]