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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Hmm, the following slightly modified testcase works in GCC 8.5.0 but started to
ICE in GCC 9.1.0:
```
struct Q {
  int n;
  constexpr const Q* operator()(int) const { return this; }
};

constexpr Q q{};

template<int>
constexpr const Q* p = q(0);
```

It is still a regression though.

Reply via email to