https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125459
Garcia Sylvain <garcia.6l20 at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |garcia.6l20 at gmail dot com
--- Comment #6 from Garcia Sylvain <garcia.6l20 at gmail dot com> ---
I hit a similar issue that is probably related:
```
#include <initializer_list>
struct R {
int n;
int peek(int o) const pre(o < n) { return o; }
};
unsigned g(const R& r)
{
std::initializer_list<int> l{r.peek(0)};
return l.size();
}
```
https://godbolt.org/z/sadn9GP66
Compiled with `-fimplicit-constexpr`.