https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82219
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Summary|[8 Regression] bogus |[8 Regression] Not wanted |warning: type qualifiers |warning: "type qualifiers |ignored on cast result type |ignored on cast result |[-Wignored-qualifiers] |type" on template | |instantiation --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I don't see how this warning is bogus. Maybe not wanted when instantiating the template but it is correct.