https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54412
--- Comment #53 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jonathan Yong <[email protected]>: https://gcc.gnu.org/g:fc811192bb897b3244da0d99894a3909281e3b63 commit r17-850-gfc811192bb897b3244da0d99894a3909281e3b63 Author: oltolm <[email protected]> Date: Sun May 24 12:57:51 2026 +0200 testsuite, i386: add win64 AVX indirect alignment tests [PR54412] On x86_64-w64-mingw32, PR target/54412 is triggered when AVX and AVX512 values are passed or returned indirectly and GCC materializes under-aligned stack storage for them. Add run tests for the original by-value AVX cases, for isolated hidden sret allocation and callee by-reference parameter materialization, and for a dedicated aligned(64) AVX512 case. gcc/testsuite/ChangeLog: PR target/54412 * gcc.target/i386/pr54412-v4d-o0-aligned-locals.c: New test. * gcc.target/i386/pr54412-o2-by-value-cases.c: New test. * gcc.target/i386/pr54412-sret-no-args.c: New test. * gcc.target/i386/pr54412-callee-byref-param.c: New test. * gcc.target/i386/pr54412-avx512-aligned64.c: New test. Signed-off-by: oltolm <[email protected]> Signed-off-by: Jonathan Yong <[email protected]>
