https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98700

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fixed on trunk by r11-7206

    c++: Fix endless errors on invalid requirement seq [PR97742]

    As the testcase shows, if we reach CPP_EOF during parsing of requirement
    sequence, we end up with endless loop where we always report invalid
    requirement expression, don't consume any token (as we are at eof) and
    repeat.

    This patch stops the loop when we reach CPP_EOF.

So closing as a dup.

*** This bug has been marked as a duplicate of bug 97742 ***

Reply via email to