https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100559
Bug ID: 100559
Summary: Solaris SPARC GCC 11.1 Ada build: i-cexten.ads:278:28:
modulus exceeds limit (2 ** 64)
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ada
Assignee: unassigned at gcc dot gnu.org
Reporter: sumbera at volny dot cz
Target Milestone: ---
Solaris SPARC GCC 11.1 build with Ada fails:
$ pwd
/builds/psumbera/userland-gcc-11.1/components/gcc10/build/sparcv9/gcc/ada/rts_32
$ /builds/psumbera/userland-gcc-11.1/components/gcc10/build/sparcv9/./gcc/xgcc
-B/builds/psumbera/userland-gcc-11.1/components/gcc10/build/sparcv9/./gcc/
-B/usr/gcc/11/sparcv9-sun-solaris2.11/bin/
-B/usr/gcc/11/sparcv9-sun-solaris2.11/lib/ -isystem
/usr/gcc/11/sparcv9-sun-solaris2.11/include -isystem
/usr/gcc/11/sparcv9-sun-solaris2.11/sys-include -fchecking=1 -c -g -O2 -m32
-fPIC -W -Wall -gnatpg -nostdinc -m32 g-calend.adb -o g-calend.o | less
i-cexten.ads:278:28: modulus exceeds limit (2 ** 64)
i-cexten.ads:281:28: modulus exceeds limit (2 ** 64)
...
i-cexten.ads:659:22: integer type definition bounds out of range
i-cexten.ads:662:22: integer type definition bounds out of range
i-cexten.ads:665:22: integer type definition bounds out of range
..
vi i-cexten.ads:
278 type Unsigned_65 is mod 2 ** 65;
279 for Unsigned_65'Size use 65;
..
659 type Signed_65 is range -2 ** 64 .. 2 ** 64 - 1;
660 for Signed_65'Size use 65;
--
GCC 10.3 builds with Ada without problems.
GCC 11.1 on intel builds with Ada without problems.