C++ PATCH for c++/60353 (bogus error with unnamed class)

Jason Merrill jason@redhat.com
Thu Feb 27 16:19:00 GMT 2014


The code I factored out of expand_or_defer_fn_1 into 
tentative_decl_linkage is intended for use with functions that are 
defined; using it on functions that have not been defined causes problems.

Tested x86_64-pc-linux-gnu, applying to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 60353.patch
Type: text/x-patch
Size: 1281 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140227/78fe5e1d/attachment.bin>


More information about the Gcc-patches mailing list