C++ PATCH for c++/51416 (ICE on invalid auto)
Jason Merrill
jason@redhat.com
Sat Dec 17 03:55:00 GMT 2011
When there are no arguments for a parameter pack, an expansion between
parens in a variable initializer reduces to value-initialization. This
isn't valid for auto. Fixed by checking for incomplete type.
Tested x86_64-pc-linux-gnu, applying to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 51416.patch
Type: text/x-patch
Size: 1050 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20111217/69d32a9f/attachment.bin>
More information about the Gcc-patches
mailing list