https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101094
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-11 branch has been updated by Eric Botcazou <ebotca...@gcc.gnu.org>: https://gcc.gnu.org/g:3a17c1663a96640874067988ffe36c1d06fb93a1 commit r11-8667-g3a17c1663a96640874067988ffe36c1d06fb93a1 Author: Eric Botcazou <ebotca...@adacore.com> Date: Thu Jul 1 17:57:16 2021 +0200 Use intermediate integer type with proper signedness This is a minor regression present on mainline and 11 branch, whereby the value of the Enum_Rep attribute is always unsigned. gcc/ada/ PR ada/101094 * exp_attr.adb (Get_Integer_Type): Return an integer type with the same signedness as the input type.