re PR c++/46472 ([C++0X] constexpr is not constexpr)
authorJason Merrill <jason@redhat.com>
Sun, 20 Feb 2011 23:18:01 +0000 (18:18 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Sun, 20 Feb 2011 23:18:01 +0000 (18:18 -0500)
commit525c617d3b92c10f79d1ffc786fb87dbf0958f0b
tree8a590edbc03e46894ebeec789e1172f529bcb970
parentceccaacf4f6bb19faa219ceeefde81e582267a1e
re PR c++/46472 ([C++0X] constexpr is not constexpr)

PR c++/46472
* method.c (process_subob_fn): Instantiate constexpr templates.
* optimize.c (maybe_clone_body): Propagate DECL_DECLARED_CONSTEXPR_P.

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