]> gcc.gnu.org Git - gcc.git/commit - gcc/cp/constexpr.cc
re PR c++/86767 (continue statements in constexpr functions causes unbounded looping)
authorMarek Polacek <polacek@redhat.com>
Mon, 6 Aug 2018 16:46:13 +0000 (16:46 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Mon, 6 Aug 2018 16:46:13 +0000 (16:46 +0000)
commit0250ba589bc7b294d3d1372372b79ea0c9c19817
tree2f586cc6affa60ecebc930f003dfcec2b5584b69
parent5242b3cb24325fb1ff32a71383ae2e7f855b2c06
re PR c++/86767 (continue statements in constexpr functions causes unbounded looping)

PR c++/86767
* constexpr.c (cxx_eval_statement_list): Handle continue.

* g++.dg/cpp1y/constexpr-86767.C: New test.

From-SVN: r263340
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp1y/constexpr-86767.C [new file with mode: 0644]
This page took 0.06225 seconds and 5 git commands to generate.