[C++ PATCH] ICE with invalid user-defined literals (PR c++/51420)

Ed Smith-Rowland 3dw4rd@verizon.net
Tue Dec 6 13:22:00 GMT 2011


This time with patch.

gcc/testsuite:

2011-12-06  Ed Smith-Rowland <3dw4rd@verizon.net>

     PR c++/51420
     * g++.dg/cpp0x/pr51420.C: New.


gcc/cp:

2011-12-06  Ed Smith-Rowland <3dw4rd@verizon.net>

     PR c++/51420
     * parser.c (lookup_literal_operator): Check that current overload
     is function_type.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_51420
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20111206/3efbdb33/attachment.ksh>


More information about the Gcc-patches mailing list