https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115535
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Last reconfirmed| |2024-06-18 Summary|Image attribute on arrays |negative value returned by |of unsigned values |'Image applied to array |incorrectly prints a signed |with nonnegative integer |representation under |component |certain conditions | CC| |ebotcazou at gcc dot gnu.org --- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- Build_Elementary_Put_Image_Call uses the signedness of the base type but the size of the first subtype, hence the discrepancy.