https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116621
--- Comment #4 from Dimitar Dimitrov <dimitar at gcc dot gnu.org> --- (In reply to H.J. Lu from comment #3) > Created attachment 59055 [details] > A patch > > Try this. Thanks. This fixes not only the attached reduced test, but also all the ABI compat checks in GCC testsuite: $ find . -name site.exp | xargs rm -f $ make check-gcc-c RUNTESTFLAGS="compat.exp struct-layout-1.exp" COMPAT_OPTIONS="[list [list {-O2} {-O2}]]" ALT_CC_UNDER_TEST=`clang` RUN_ALL_COMPAT_TESTS=1 ... === gcc Summary === # of expected passes 1335 /home/dinux/projects/gnu/x86-build/gcc/xgcc version 15.0.0 20240902 (experimental) (GCC)