re PR c++/56095 (Crash casting function pointer as non-type template argument)
authorJason Merrill <jason@redhat.com>
Sun, 17 Mar 2013 02:33:38 +0000 (22:33 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Sun, 17 Mar 2013 02:33:38 +0000 (22:33 -0400)
commit6721db5d154364ab7f9bf7af62bc1a2f30313a39
treec052c1f7043fd3af86bb9c7610458c725f6cf03c
parent720f3cb82d2c970e60b64bca0f6249db3f563de5
re PR c++/56095 (Crash casting function pointer as non-type template argument)

PR c++/56095
* class.c (resolve_address_of_overloaded_function): Accept a
reference to function for target_type.
(instantiate_type): Likewise.
* pt.c (convert_nontype_argument): Pass it to
convert_nontype_argument_function.

From-SVN: r196722
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/pt.c