https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108275
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Known to fail| |4.1.2 Last reconfirmed| |2023-01-03 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- here is a C++98 testcase: ``` class Base { int i; }; template< int Base::* V> struct Foo { int a; }; int main() { struct Foo<&Base::i> struct_foo; } ``` Confirmed, not a regression.