]> gcc.gnu.org Git - gcc.git/commit - gcc/cp/constexpr.c
re PR c++/63283 (constexpr function called by templated function is not treated as...
authorJason Merrill <jason@redhat.com>
Thu, 15 Jan 2015 20:46:03 +0000 (15:46 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 15 Jan 2015 20:46:03 +0000 (15:46 -0500)
commitc3c29ba5882f0f7db60ac2efca272a79cefa81c8
tree694493af91762df4a383a92ec28321c741e4e30b
parent4c16468417da5c3db8e6ca93704142b9cafa10c0
re PR c++/63283 (constexpr function called by templated function is not treated as constexpr)

PR c++/63283
* constexpr.c (potential_constant_expression_1): Handle reference
args in templates.

From-SVN: r219686
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/testsuite/g++.dg/cpp0x/constexpr-template8.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/static_assert10.C
This page took 0.058944 seconds and 5 git commands to generate.