From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 95F943858400; Wed, 22 Sep 2021 12:30:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 95F943858400 From: "danglin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/102450] New: GCC error: in set_min_and_max_values_for_integral_type, at stor-layout.c:2851 Date: Wed, 22 Sep 2021 12:30:12 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: danglin at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone cf_gcchost cf_gcctarget cf_gccbuild Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Sep 2021 12:30:12 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D102450 Bug ID: 102450 Summary: GCC error: in set_min_and_max_values_for_integral_type, at stor-layout.c:2851 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org Target Milestone: --- Host: hppa*-*-* (32-bit) Target: hppa*-*-* (32-bit) Build: hppa*-*-* (32-bit) /home/dave/gnu/gcc/objdir/./gcc/xgcc -B/home/dave/gnu/gcc/objdir/./gcc/ -B/opt/g nu/gcc/gcc-12/hppa2.0w-hp-hpux11.11/bin/ -B/opt/gnu/gcc/gcc-12/hppa2.0w-hp-hpux1 1.11/lib/ -isystem /opt/gnu/gcc/gcc-12/hppa2.0w-hp-hpux11.11/include -isyst= em /o pt/gnu/gcc/gcc-12/hppa2.0w-hp-hpux11.11/sys-include -fchecking=3D1 -c -g = -O2=20 -f PIC -W -Wall -gnatpg -nostdinc s-regpat.adb -o s-regpat.o during GIMPLE pass: lower +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3DGNAT BUG DETECTED=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+ | 12.0.0 20210922 (experimental) (hppa2.0w-hp-hpux11.11) GCC error: | | in set_min_and_max_values_for_integral_type, at stor-layout.c:2851 | | Error detected around s-regpat.adb:345:4 | | Compiling s-regpat.adb | | Please submit a bug report; see https://gcc.gnu.org/bugs/ . | | Use a subject line meaningful to you and us to track the bug. | | Include the entire contents of this bug box in the report. | | Include the exact command that you entered. | | Also include sources listed below. | +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+ Please include these source files with error report Note that list may not be accurate in some cases, so please double check that the problem can still be reproduced with the set of files listed. Consider also -gnatd.n switch (see debug.adb). system.ads s-regpat.adb s-regpat.ads s-io.ads ada.ads a-charac.ads a-chahan.ads a-unccon.ads s-exctab.ads s-stalib.ads a-except.ads s-parame.ads s-traent.ads s-valint.ads s-unstyp.ads s-valuns.ads s-valueu.ads s-valuei.ads s-imgcha.ads s-secsta.ads s-stoele.ads s-imgint.ads s-imagei.ads raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:414 make[7]: *** [../gcc-interface/Makefile:300: s-regpat.o] Error 1 make[7]: Leaving directory '/home/dave/gnu/gcc/objdir/gcc/ada/rts' make[6]: *** [gcc-interface/Makefile:627: gnatlib] Error 2 make[6]: Leaving directory '/home/dave/gnu/gcc/objdir/gcc/ada' make[5]: *** [gcc-interface/Makefile:662: gnatlib-shared-default] Error 2 make[5]: Leaving directory '/home/dave/gnu/gcc/objdir/gcc/ada' Also occurs on Linux: https://buildd.debian.org/status/fetch.php?pkg=3Dgcc-snapshot&arch=3Dhppa&v= er=3D1%3A20210918-1&stamp=3D1632002454&raw=3D0=