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++/86767] [6/7/8/9 Regression] continue statements in constexpr functions causes unbounded looping


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]