re PR c++/64603 (bogus error "no matching function for call to ..." with templates)
authorJason Merrill <jason@redhat.com>
Wed, 21 Jan 2015 21:56:34 +0000 (16:56 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 21 Jan 2015 21:56:34 +0000 (16:56 -0500)
commitb85a3242397d2c63d1185bbc17386520335313cb
treeba6d1908f5d9c574858966bc7c4b29b0951e07b3
parentd2632e47fcd996a513420cb95de06940fa640d19
re PR c++/64603 (bogus error "no matching function for call to ..." with templates)

PR c++/64603
* constexpr.c (cxx_eval_constant_expression): Only shortcut
constant CONSTRUCTORs.

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