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

            Bug ID: 98711
           Summary: internal compiler error on instantiation of c++20
                    template class with 2 constrained and disabled
                    destructors
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ryan_greenblatt at brown dot edu
  Target Milestone: ---

```
template <typename T> struct A {
  constexpr ~A() requires(false) {}
  constexpr ~A() requires(!true) {}
};

constexpr A<int> a;
```
https://godbolt.org/z/ao59G4
  • [Bug c++/98711] New: interna... ryan_greenblatt at brown dot edu via Gcc-bugs

Reply via email to