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

            Bug ID: 99521
           Summary: ICE Segmentation fault when decltype lambda in
                    requires clause
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hewillk at gmail dot com
  Target Milestone: ---

This may be related/duplicated to the 99513, but I am not sure.

The following invalid code will trigger Segmentation fault on gcc-11:

int main() {
  [](auto) requires (decltype;
}

(godbolt: https://godbolt.org/z/WaP6qe)

Reply via email to