[Bug c++/98700] Infinite stream of error messages from bad concept code
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 27 10:44:40 GMT 2021
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 ***
More information about the Gcc-bugs
mailing list