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

2011-12-07 Thread Jason Merrill
Applied, thanks. Jason

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

2011-12-06 Thread Ed Smith-Rowland
On 12/06/2011 02:27 PM, Jason Merrill wrote: On 12/06/2011 08:21 AM, Ed Smith-Rowland wrote: * parser.c (lookup_literal_operator): Check that current overload is function_type. Instead of checking here, let's check is_overloaded_fn (decl) right after the lookup name. Jason OK, This passe

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

2011-12-06 Thread Jason Merrill
On 12/06/2011 08:21 AM, Ed Smith-Rowland wrote: * parser.c (lookup_literal_operator): Check that current overload is function_type. Instead of checking here, let's check is_overloaded_fn (decl) right after the lookup name. Jason