[PATCH][C++] Fix PR65091
Andrea Azzarone
azzaronea@gmail.com
Sat Feb 21 13:25:00 GMT 2015
Hi all,
please find attached a fix for pr 65071 "decltype(~arg) fails for
template functions". Basically we need to make sure that ~arg is
considered an expression and not a dtor.
2015-02-21 Andrea Azzarone <azzaronea@gmail.com>
PR c++/65091
* parser.c (cp_parser_decltype_expr): Make sure ~id is treated as an
expression.
--
Andrea Azzarone
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr-65091.patch
Type: text/x-patch
Size: 1103 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150221/9061fd1f/attachment.bin>
More information about the Gcc-patches
mailing list