]> gcc.gnu.org Git - gcc.git/commit
re PR c++/50837 ([c++0x] static_assert and constexpr in template class)
authorPaolo Carlini <paolo@gcc.gnu.org>
Thu, 10 Nov 2011 02:27:16 +0000 (02:27 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 10 Nov 2011 02:27:16 +0000 (02:27 +0000)
commit136a1c15d70712b65429ca8028fb2fe2d38df501
tree82f3953d64b0c335c589440e58ddeb6dba44ac21
parent430616e7a7a321e216aeaeccc3da35aa23c0080f
re PR c++/50837 ([c++0x] static_assert and constexpr in template class)

/cp
2011-11-09  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/50837
* pt.c (tsubst_copy_and_build) [IDENTIFIER_NODE]: In C++11 mode
pass allow_non_integral_constant_expression_p = true to
finish_id_expression.

/testsuite
2011-11-09  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/50837
* g++.dg/cpp0x/static_assert5.C: New.
* g++.dg/template/nontype13.C: Tweak.

From-SVN: r181248
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/static_assert5.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/nontype13.C
This page took 0.068283 seconds and 5 git commands to generate.