https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115768
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- >The unused constexpr names aren't optimized out but the const*const ones are. They are different. In the constexpr case, you have an array of array of char. In the const case you have an array of pointers.