https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97350
Bug ID: 97350
Summary: [11 Regression ] Ada bootstrap fails with:
self_referential_size, at stor-layout.c:172
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: ada
Assignee: unassigned at gcc dot gnu.org
Reporter: marxin at gcc dot gnu.org
CC: ebotcazou at gcc dot gnu.org
Target Milestone: ---
The following fails:
$ ../configure --with-build-config=bootstrap-lto-lean --enable-checking=release
--enable-languages=c,c++,lto,ada
$ make profiledbootstrap 'BOOT_CFLAGS=-O3' -j160
/home/mliska/Programming/gcc/objdir/./gcc/xgcc
-B/home/mliska/Programming/gcc/objdir/./gcc/ -B/usr/x86_64-suse-linux/bin/
-B/usr/x86_64-suse-linux/lib/ -isystem /usr/x86_64-suse-linux/include -isystem
/usr/x86_64-suse-linux/sys-include -c -g -O2 -fpic -W -Wall -gnatpg
-nostdinc a-cgarso.adb -o a-cgarso.o
compilation abandoned
compilation abandoned
/home/mliska/Programming/gcc/objdir/./gcc/xgcc
-B/home/mliska/Programming/gcc/objdir/./gcc/ -B/usr/x86_64-suse-linux/bin/
-B/usr/x86_64-suse-linux/lib/ -isystem /usr/x86_64-suse-linux/include -isystem
/usr/x86_64-suse-linux/sys-include -c -g -O2 -fpic -W -Wall -gnatpg
-nostdinc a-cgcaso.adb -o a-cgcaso.o
make[7]: *** [../gcc-interface/Makefile:299: a-assert.o] Error 1
make[7]: *** Waiting for unfinished jobs....
make[7]: *** [../gcc-interface/Makefile:299: a-catizo.o] Error 1
make[7]: *** [../gcc-interface/Makefile:299: a-calari.o] Error 1
+===========================GNAT BUG DETECTED==============================+
| 11.0.0 20201008 (experimental) (x86_64-suse-linux) GCC error: |
| in self_referential_size, at stor-layout.c:172 |
| Error detected around <built-in>:0 |
| 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. |
+==========================================================================+