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

            Bug ID: 115053
           Summary: gcc crashed without back trace
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rungecc at gmail dot com
  Target Milestone: ---

Minimal example(https://godbolt.org/z/qPKaYdj4o):

```c++
template < typename... Ts >
struct list {};

template < typename... Ts >
constexpr
bool ice = []( list<decltype([](Ts){})...> x = {}) { 
        return true;
    }();

constexpr auto r = ice<int>;
```

GCC just crashes, without any useful diagnostics or internal reports, possibly
runs into an infinite loop when it performs mangling (the crash of clang is
this type).

Reply via email to