Hi, On Thu, 2026-06-04 10:45:54 +0200, Marc Poulhiès <[email protected]> wrote: > From: Eric Botcazou <[email protected]> > > Compiling Ada.Tags with -gnatRh shows unused bits in the Type_Specific_Data > record type for 64-bit targets. This saves one 64-bit word in it for them. > > gcc/ada/ChangeLog: > > * libgnat/a-tags.ads (Type_Specific_Data): Move Boolean components > to right after Natural components and put Is_Abstract last. > * exp_disp.adb (Make_DT): Adjust to above reordering. > > Tested on x86_64-pc-linux-gnu, committed on master.
I'm a bit late to the party, but while building a new cross for --target=alpha-linux (with a somewhat recent gcc), I see this error since this commit: [...] /usr/lib/gcc-snapshot/bin/gcc -c -g -O2 -gnatpg -gnata -W -Wall -fno-PIE -nostdinc -I- -I. -Iada/generated -Iada -I/home/jenkins/workspace/gcc-alpha-linux/gcc/gcc/ada -Iada/libgnat -I/home/jenkins/workspace/gcc-alpha-linux/gcc/gcc/ada/libgnat -Iada/gcc-interface -I/home/jenkins/workspace/gcc-alpha-linux/gcc/gcc/ada/gcc-interface /home/jenkins/workspace/gcc-alpha-linux/gcc/gcc/ada/libgnat/g-cstyin.adb -o ada/libgnat/g-cstyin.o a-sttebu.ads:79:09: error: expected type "Standard.Boolean" a-sttebu.ads:79:09: error: found type "Ada.Tags.Cstring_Ptr" a-sttebu.ads:79:09: error: expected type "Standard.Boolean" a-sttebu.ads:79:09: error: found type "Ada.Tags.Tag_Ptr" a-sttebu.ads:79:09: error: expected type "Ada.Tags.Cstring_Ptr" a-sttebu.ads:79:09: error: found type "Standard.Boolean" a-sttebu.ads:79:09: error: expected type "Ada.Tags.Tag_Ptr" a-sttebu.ads:79:09: error: found type "Standard.Boolean" make[1]: *** [/home/jenkins/workspace/gcc-alpha-linux/gcc/gcc/ada/gcc-interface/Make-lang.in:164: ada/libgnat/g-cstyin.o] Error 1 make[1]: Leaving directory '/home/jenkins/workspace/gcc-alpha-linux/gcc-build-dir/gcc' make: *** [Makefile:4776: all-gcc] Error 2 That GCC is from Debian's `gcc-snapshot` package: gcc (Debian 20260216-1) 16.0.1 20260216 (experimental) [trunk r16-7529-g5388fd3a3b6]\nCopyright (C) 2026 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. As I don't have a clue about Ada, I don't know if it's that GCC 16 to blame (and this patch just uncovered it), or if that's an actual issue with this patch. MfG, JBG --
signature.asc
Description: PGP signature
