https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101094
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Eric Botcazou <ebotca...@gcc.gnu.org>: https://gcc.gnu.org/g:cdf4576b201aa81fd853b06242b16e4215ead5a9 commit r12-1961-gcdf4576b201aa81fd853b06242b16e4215ead5a9 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.