https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94951
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[8/9/10/11 Regression] |[8/9 Regression] |dereferencing type-punned |dereferencing type-punned |pointer will break |pointer will break |strict-aliasing rules when |strict-aliasing rules when |using super class for a |using super class for a |template type |template type --- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Fixed for 10.2+ and 11+ so far.