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

            Bug ID: 111220
           Summary: ICE with std::integral in template
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: stevenxia990430 at gmail dot com
  Target Milestone: ---

The following invalid program reports an internal compiler error. Failed on
gcc-trunk. 

To quickly reproduce: https://gcc.godbolt.org/z/TsKjKbfrd
```
#include <concepts>
template<typename Size = std::integral>
```

note that it requires --std=c++20 or c++23, tried on default and it errors
without any crashes.
  • [Bug c++/111220] New: ICE wi... stevenxia990430 at gmail dot com via Gcc-bugs

Reply via email to