re PR c++/54946 (ICE on template parameter from cast char-pointer in C++11 constexpr...
authorJason Merrill <jason@redhat.com>
Sun, 17 Mar 2013 02:35:50 +0000 (22:35 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Sun, 17 Mar 2013 02:35:50 +0000 (22:35 -0400)
commitcb3c050e515c697b2b69991ce9c7a770e301ac92
treebedb10e1b691f963066dbf55eb220bb3a023c5c7
parente9f3968bbe670a0b54516a29ca9ffb7c79c6cb20
re PR c++/54946 (ICE on template parameter from cast char-pointer in C++11 constexpr struct)

PR c++/54946
* pt.c (convert_nontype_argument): Handle invalid pointer.

From-SVN: r196731
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp0x/constexpr-template5.C [new file with mode: 0644]