Re: C++ PATCH for c++/56095 (ICE on invalid function pointer template argument)

2013-03-16 Thread Jason Merrill
While I was looking at this issue in January, I noticed that resolve_address_of_overloaded_function wasn't accepting a reference to function type, which it seems like it ought to handle. Tested x86_64-pc-linux-gnu, applying to trunk. commit 9839aa98a3c80c73e904b657499e6fce7d43a25d Author: Jason

C++ PATCH for c++/56095 (ICE on invalid function pointer template argument)

2013-01-25 Thread Jason Merrill
We were assuming well-formed code. Tested x86_64-pc-linux-gnu, applying to trunk. commit dc80cbbc639c39dd8728aa14d6188bcd9061bfd0 Author: Jason Merrill Date: Fri Jan 25 06:15:26 2013 -0500 PR c++/56095 * pt.c (convert_nontype_argument_function): Handle invalid input. (convert_n