re PR c++/62659 (Regression in template argument substitution in 4.9+)
authorJason Merrill <jason@redhat.com>
Fri, 5 Sep 2014 17:59:40 +0000 (13:59 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 5 Sep 2014 17:59:40 +0000 (13:59 -0400)
commited23bf8bd649d2568e7371760841db39c6ac2e63
tree5802052cd03ae89ce9db8b9ffb7e4f5c7f30e08b
parent01c2fa9d53bee9a6aeeb2b8026081db22c2a66f1
re PR c++/62659 (Regression in template argument substitution in 4.9+)

PR c++/62659
* semantics.c (potential_constant_expression_1): Handle un-folded
pointer to member constants.

From-SVN: r214974
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/g++.dg/template/ptrmem29.C [new file with mode: 0644]