https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39843
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- So probably it should instead do: type = build_type_attribute_qual_variant (unsigned_type_for (type), TYPE_ATTRIBUTES (type), TYPE_QUALS (type)); or so and similarly for C++?