https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126215
feedable <feedabl3 at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |feedabl3 at gmail dot com
--- Comment #1 from feedable <feedabl3 at gmail dot com> ---
Reduced example:
https://godbolt.org/z/hhG3cWTrj
```
struct bug{ bug *ptr = this; };
struct base0 { bug a; };
struct base1 { bug b; };
struct tuple_: base0, base1 {};
struct tuple : tuple_ {};
constexpr tuple gen() { return {}; }
constexpr tuple names = gen();
int main() { bug *x = names.b.ptr; }
```
Seems to affect all versions from at least 10.3.