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

            Bug ID: 97165
           Summary: Infinite error stream on invalid code
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mpolacek at gcc dot gnu.org
  Target Milestone: ---

a<b<c<d<e<f<g

$ ./cc1plus -quiet q.C -std=c++20
q.C:1:13: error: ‘g’ was not declared in this scope
    1 | a<b<c<d<e<f<g
      |             ^
q.C:1:13: error: ‘g’ was not declared in this scope
q.C:1:13: error: ‘g’ was not declared in this scope
q.C:1:13: error: ‘g’ was not declared in this scope
q.C:1:13: error: ‘g’ was not declared in this scope
q.C:1:13: error: ‘g’ was not declared in this scope
q.C:1:13: error: ‘g’ was not declared in this scope
[...]

Reply via email to