https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86217 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The const part is twice as the decl has TREE_READONLY set to true and the type has TYPE_READONLY is set to true.