This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/49924] [C++0X] [constexpr] can't initialize a non-static member array of a literal type as a constexpr


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49924

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-08-02 15:35:38 UTC ---
Author: jason
Date: Tue Aug  2 15:35:34 2011
New Revision: 177188

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177188
Log:
    PR c++/49924
    * semantics.c (cxx_eval_vec_init_1): Fix logic.

Added:
    branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/constexpr-array4.C
Modified:
    branches/gcc-4_6-branch/gcc/cp/ChangeLog
    branches/gcc-4_6-branch/gcc/cp/semantics.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]