]> git.ipfire.org Git - people/ms/gcc.git/commit
Use intermediate integer type with proper signedness
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 1 Jul 2021 15:57:16 +0000 (17:57 +0200)
committerEric Botcazou <ebotcazou@adacore.com>
Thu, 1 Jul 2021 16:14:13 +0000 (18:14 +0200)
commit3a17c1663a96640874067988ffe36c1d06fb93a1
treea79a98f5ae306f653aef2f80a152bb077a587edf
parentc2db680d5b4a64bd47a2219729b8e19bd192208c
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.
gcc/ada/exp_attr.adb