[Bug c++/102709] New: ICE: in build_function_type, at tree.c:7304

hewillk at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Oct 12 15:42:10 GMT 2021


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

            Bug ID: 102709
           Summary: ICE: in build_function_type, at tree.c:7304
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hewillk at gmail dot com
  Target Milestone: ---

12 Regression:

template<class... T>
struct S { S(T) {} };

int main() {
  S([]{});
}

https://godbolt.org/z/rM5Eo1rhh


More information about the Gcc-bugs mailing list