[Bug c++/52707] [C++11] Deleted special member function prevent type being an aggregate

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Apr 15 17:15:00 GMT 2012


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

--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2012-04-15 17:15:40 UTC ---
Created attachment 27161
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27161
partial patch

This patch fixes the bug, but breaks several other tests in the testsuite,
because many places in the compiler assume that if the constructor isn't
callable, it's also non-trivial.  This needs to be fixed, but for the moment
I'm going to look at lower-hanging fruit.



More information about the Gcc-bugs mailing list