]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR c++/68206 - Fix constexpr diagnostics with loops.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Apr 2016 18:49:54 +0000 (18:49 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Apr 2016 18:49:54 +0000 (18:49 +0000)
commitd198067108c5306301ab067019aec518d089b6fe
tree964059415e120010e9641eff256f12b9121bd000
parent06ff63bf1a703445008a57de038155a14792422c
PR c++/68206 - Fix constexpr diagnostics with loops.

PR c++/68530
* constexpr.c (potential_constant_expression_1): Handle LOOP_EXPR
and GOTO_EXPR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@235217 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/testsuite/g++.dg/cpp1y/constexpr-loop5.C [new file with mode: 0644]