re PR c++/49924 ([C++0X] [constexpr] can't initialize a non-static member array of...
authorJason Merrill <jason@redhat.com>
Mon, 1 Aug 2011 21:01:59 +0000 (17:01 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 1 Aug 2011 21:01:59 +0000 (17:01 -0400)
commit3748a54ca39e4aa0d38cec50b8e8ee7b7a93df09
tree47375ddd3aba101247cb5326b6dd17abb7e941f1
parent172c08a54430cef4d0833d88d3b22013780e0280
re PR c++/49924 ([C++0X] [constexpr] can't initialize a non-static member array of a literal type as a constexpr)

PR c++/49924
* semantics.c (cxx_eval_vec_init_1): Fix logic.

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