[Bug c++/68530] [C++14] sorry, unimplemented: unexpected AST of kind loop_expr
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Apr 22 15:40:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68530
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Apr 22 15:39:03 2016
New Revision: 235369
URL: https://gcc.gnu.org/viewcvs?rev=235369&root=gcc&view=rev
Log:
PR c++/68206 - Fix constexpr diagnostics with loops.
PR c++/68530
* constexpr.c (potential_constant_expression_1): Handle LOOP_EXPR
and GOTO_EXPR.
Added:
branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp1y/constexpr-loop5.C
Modified:
branches/gcc-6-branch/gcc/cp/ChangeLog
branches/gcc-6-branch/gcc/cp/constexpr.c
More information about the Gcc-bugs
mailing list