This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/86767] [6/7/8/9 Regression] continue statements in constexpr functions causes unbounded looping
- From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 06 Aug 2018 16:46:44 +0000
- Subject: [Bug c++/86767] [6/7/8/9 Regression] continue statements in constexpr functions causes unbounded looping
- Auto-submitted: auto-generated
- References: <bug-86767-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86767
--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Mon Aug 6 16:46:13 2018
New Revision: 263340
URL: https://gcc.gnu.org/viewcvs?rev=263340&root=gcc&view=rev
Log:
PR c++/86767
* constexpr.c (cxx_eval_statement_list): Handle continue.
* g++.dg/cpp1y/constexpr-86767.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/cpp1y/constexpr-86767.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/constexpr.c
trunk/gcc/testsuite/ChangeLog