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++/60225] [4.9 Regression] [c++11] ICE initializing constexpr array


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

--- Comment #4 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Tue Feb 18 23:11:26 2014
New Revision: 207858

URL: http://gcc.gnu.org/viewcvs?rev=207858&root=gcc&view=rev
Log:
/cp
2014-02-18  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/60225
    * semantics.c (ensure_literal_type_for_constexpr_object): Use
    strip_array_types.

/testsuite
2014-02-18  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/60225
    * g++.dg/cpp0x/constexpr-ice10.C: New.

/cp
2014-02-18  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/60215
    * semantics.c (cxx_eval_constant_expression, [COMPONENT_REF]):
    During error recovery allow_non_constant may be false.

/testsuite
2014-02-18  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/60215
    * g++.dg/cpp0x/pr60215.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-ice10.C
    trunk/gcc/testsuite/g++.dg/cpp0x/pr60215.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/semantics.c
    trunk/gcc/testsuite/ChangeLog


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