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++/49988] constexpr on ctor invokes improper initialization


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

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2011-08-06 04:38:11 UTC ---
Author: jason
Date: Sat Aug  6 04:38:08 2011
New Revision: 177500

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177500
Log:
    PR c++/49988
    * semantics.c (cxx_eval_array_reference): Handle failure to
    reduce the array operand to something we can work with.

Added:
   
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/constexpr-non-const-arg3.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]