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++/67926] Using folding expressions in a constexpr context ice's


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67926

--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Fri Oct 16 07:06:11 2015
New Revision: 228861

URL: https://gcc.gnu.org/viewcvs?rev=228861&root=gcc&view=rev
Log:
/cp
2015-10-16  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/67926
        * constexpr.c (potential_constant_expression_1): Handle
        UNARY_LEFT_FOLD_EXPR, UNARY_RIGHT_FOLD_EXPR, BINARY_LEFT_FOLD_EXPR,
        BINARY_RIGHT_FOLD_EXPR.

/testsuite
2015-10-16  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/67926
        * g++.dg/cpp1z/fold-ice1.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1z/fold-ice1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/constexpr.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]