C++ PATCH to trivial_type_p for c++/41421

Jason Merrill jason@redhat.com
Mon Sep 21 16:11:00 GMT 2009


TYPE_HAS_COMPLEX_DFLT is the wrong test for a trivial type, as it 
doesn't consider the case of a class with no default constructor.

Tested x86_64-pc-linux-gnu, applied to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 41421.patch
Type: text/x-patch
Size: 1143 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090921/b215f9c4/attachment.bin>


More information about the Gcc-patches mailing list