https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103374

            Bug ID: 103374
           Summary: gcc/ada/exp_ch4.adb:7165:10: sorry, unimplemented:
                    __builtin_clear_padding not supported for variable
                    length aggregates
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: qing.zhao at oracle dot com
  Target Milestone: ---

I tried bootstrapping GCC with -ftrivial-auto-var-init=pattern but it fails
here:

[  978s]
/home/abuild/rpmbuild/BUILD/gcc-12.0.0+git189862/obj-i586-suse-linux/./prev-gcc/xgcc
-B/home/abuild/rpmbuild/BUILD/gcc-12.0.0+git189862/obj-i586-suse-linux/./prev-gcc/
-B/usr/i586-suse-linux/bin/ -B/usr/i586-suse-linux/bin/
-B/usr/i586-suse-linux/lib/ -isystem /usr/i586-suse-linux/include -isystem
/usr/i586-suse-linux/sys-include   -fno-checking -c -fomit-frame-pointer -O3
-D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables
-fstack-clash-protection -Werror=return-type -Wno-error
-ftrivial-auto-var-init=pattern -g -U_FORTIFY_SOURCE -fno-checking -gtoggle
-fprofile-generate  -gnatpg  -W -Wall -nostdinc -I- -I. -Iada/generated -Iada
-I../../gcc/ada -Iada/libgnat -I../../gcc/ada/libgnat -Iada/gcc-interface
-I../../gcc/ada/gcc-interface ../../gcc/ada/exp_ch4.adb -o ada/exp_ch4.o
[  979s] ../../gcc/ada/exp_ch4.adb: In function
'Exp_Ch4.Expand_N_Indexed_Component':
[  979s] ../../gcc/ada/exp_ch4.adb:7165:10: sorry, unimplemented:
__builtin_clear_padding not supported for variable length aggregates
[  979s] make[3]: *** [../../gcc/ada/gcc-interface/Make-lang.in:167:
ada/exp_ch4.o] Error 1

Reply via email to