https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119312
--- Comment #14 from Joseph S. Myers <jsm28 at gcc dot gnu.org> --- I think an object declared with a structure type with only const fields and no padding can be considered const (no valid way to modify it), yes.