https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114062
Bug ID: 114062 Summary: "GNAT BUG DETECTED" 13.2.0 (hppa-linux-gnu) in remove, at alloc-pool.h:437 Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org CC: dkm at gcc dot gnu.org Target Milestone: --- /<<PKGBUILDDIR>>/build/./prev-gcc/xgcc -B/<<PKGBUILDDIR>>/build/./prev-gcc/ -B/usr/hppa-linux-gnu/bin/ -B/usr/hppa-linux-gnu/bin/ -B/usr/hppa-linux-gnu/lib/ -isystem /usr/hppa-linux-gnu/include -isystem /usr/hppa-linux-gnu/sys-include -isystem /<<PKGBUILDDIR>>/build/sys-include -fchecking=1 -c -g -O2 -fchecking=1 -mdisable-indexing -gnatpg -W -Wall -nostdinc -I- -I. -Iada/generated -Iada -I../../src/gcc/ada -Iada/libgnat -I../../src/gcc/ada/libgnat -Iada/gcc-interface -I../../src/gcc/ada/gcc-interface ../../src/gcc/ada/switch-c.adb -o ada/switch-c.o mkdir -p ada/ /<<PKGBUILDDIR>>/build/./prev-gcc/xgcc -B/<<PKGBUILDDIR>>/build/./prev-gcc/ -B/usr/hppa-linux-gnu/bin/ -B/usr/hppa-linux-gnu/bin/ -B/usr/hppa-linux-gnu/lib/ -isystem /usr/hppa-linux-gnu/include -isystem /usr/hppa-linux-gnu/sys-include -isystem /<<PKGBUILDDIR>>/build/sys-include -fchecking=1 -c -g -O2 -fchecking=1 -mdisable-indexing -gnatpg -W -Wall -nostdinc -I- -I. -Iada/generated -Iada -I../../src/gcc/ada -Iada/libgnat -I../../src/gcc/ada/libgnat -Iada/gcc-interface -I../../src/gcc/ada/gcc-interface ../../src/gcc/ada/switch.adb -o ada/switch.o during RTL pass: reload +===========================GNAT BUG DETECTED==============================+ | 13.2.0 (hppa-linux-gnu) in remove, at alloc-pool.h:437 | | Error detected around ../../src/gcc/ada/switch-c.adb:1642:8 | | Compiling ../../src/gcc/ada/switch-c.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. | +==========================================================================+ 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). ../../src/gcc/ada/gcc-interface/system.ads ../../src/gcc/ada/switch-c.adb ../../src/gcc/ada/switch-c.ads ../../src/gcc/ada/switch.ads ada/generated/gnatvsn.ads ../../src/gcc/ada/types.ads ../../src/gcc/ada/libgnat/ada.ads ../../src/gcc/ada/libgnat/a-unccon.ads ../../src/gcc/ada/libgnat/a-uncdea.ads ../../src/gcc/ada/libgnat/s-string.ads ../../src/gcc/ada/debug.ads ../../src/gcc/ada/lib.ads ../../src/gcc/ada/alloc.ads ../../src/gcc/ada/namet.ads ../../src/gcc/ada/hostparm.ads ../../src/gcc/ada/table.ads ada/gnat.ads ../../src/gcc/ada/libgnat/g-htable.ads ../../src/gcc/ada/libgnat/s-htable.ads ../../src/gcc/ada/osint.ads ../../src/gcc/ada/libgnat/s-os_lib.ads ../../src/gcc/ada/libgnat/s-stoele.ads ../../src/gcc/ada/opt.ads ../../src/gcc/ada/libgnat/s-wchcon.ads ../../src/gcc/ada/stylesw.ads ../../src/gcc/ada/targparm.ads ../../src/gcc/ada/rident.ads ada/s-rident.ads ../../src/gcc/ada/ttypes.ads ../../src/gcc/ada/set_targ.ads ../../src/gcc/ada/stand.ads ../../src/gcc/ada/validsw.ads ../../src/gcc/ada/warnsw.ads ../../src/gcc/ada/libgnat/s-exctab.ads ../../src/gcc/ada/libgnat/s-stalib.ads ../../src/gcc/ada/libgnat/s-unstyp.ads ../../src/gcc/ada/libgnat/s-conca2.ads ../../src/gcc/ada/libgnat/s-secsta.ads ../../src/gcc/ada/libgnat/s-parame.ads raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:414 make[5]: *** [../../src/gcc/ada/gcc-interface/Make-lang.in:165: ada/switch-c.o] Error 1 Full log is here: https://buildd.debian.org/status/fetch.php?pkg=gcc-13&arch=hppa&ver=13.2.0-16&stamp=1708622992&raw=0 Has something to do with -D_TIME_BITS=64 setting.