https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99662
Bug ID: 99662 Summary: GNAT compiled with the address sanitizer fails at build time Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: zeccav at gmail dot com CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org, marxin at gcc dot gnu.org Target Milestone: --- Building the ada compiler with address sanitation I get the following: atree.adb:3764 "pragma Assert (Nkind (N) in N_Entity);" make[7]: Entering directory '/home/vitti/gcc-150321-ada-address/gcc/ada/rts' /home/vitti/gcc-150321-ada-address/./gcc/xgcc -B/home/vitti/gcc-150321-ada-address/./gcc/ -B/home/vitti/local/gcc-150321-ada-address/x86_64-pc-linux-gnu/bin/ -B/home/vitti/local/gcc-150321-ada-address/x86_64-pc-linux-gnu/lib/ -isystem /home/vitti/local/gcc-150321-ada-address/x86_64-pc-linux-gnu/include -isystem /home/vitti/local/gcc-150321-ada-address/x86_64-pc-linux-gnu/sys-include -c -g -O2 -fpic -W -Wall -gnatpg -nostdinc a-assert.adb -o a-assert.o +===========================GNAT BUG DETECTED==============================+ | 11.0.1 20210315 (experimental) (x86_64-pc-linux-gnu) Assert_Failure atree.adb:3764| | Error detected at system.ads:47:4 | | 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. | +==========================================================================+