public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/100559] New: Solaris SPARC GCC 11.1 Ada build: i-cexten.ads:278:28: modulus exceeds limit (2 ** 64)
@ 2021-05-12  7:07 sumbera at volny dot cz
  2021-05-12  7:35 ` [Bug ada/100559] " sumbera at volny dot cz
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: sumbera at volny dot cz @ 2021-05-12  7:07 UTC (permalink / raw)
  To: gcc-bugs

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.

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2021-05-13 15:43 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-12  7:07 [Bug ada/100559] New: Solaris SPARC GCC 11.1 Ada build: i-cexten.ads:278:28: modulus exceeds limit (2 ** 64) sumbera at volny dot cz
2021-05-12  7:35 ` [Bug ada/100559] " sumbera at volny dot cz
2021-05-12 10:14 ` ebotcazou at gcc dot gnu.org
2021-05-12 10:17 ` sumbera at volny dot cz
2021-05-12 10:33 ` ebotcazou at gcc dot gnu.org
2021-05-12 10:45 ` sumbera at volny dot cz
2021-05-12 11:08 ` ebotcazou at gcc dot gnu.org
2021-05-12 11:18 ` sumbera at volny dot cz
2021-05-12 11:38 ` ebotcazou at gcc dot gnu.org
2021-05-12 12:33 ` sumbera at volny dot cz
2021-05-12 14:19 ` ebotcazou at gcc dot gnu.org
2021-05-13  7:45 ` ebotcazou at gcc dot gnu.org
2021-05-13  8:10 ` sumbera at volny dot cz
2021-05-13  8:26 ` [Bug ada/100559] build failure of 32-bit Ada runtime after local modification ebotcazou at gcc dot gnu.org
2021-05-13  8:47 ` sumbera at volny dot cz
2021-05-13  8:50 ` ro at CeBiTec dot Uni-Bielefeld.DE
2021-05-13  8:53 ` sumbera at volny dot cz
2021-05-13 15:43 ` sumbera at volny dot cz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).