[gcc r17-3459] gcc.target/i386/pr84876.c: Compile with -mno-avx512f
"H.J. Lu via Gcc-cvs" <[email protected]>
| Newsgroups | gmane.comp.gcc.cvs |
|---|---|
| Message-ID | <[email protected]> |
https://gcc.gnu.org/g:17e01b00f0e4fa9033ba40f4fde2dfe3ac345560 commit r17-3459-g17e01b00f0e4fa9033ba40f4fde2dfe3ac345560 Author: H.J. Lu <[email protected]> Date: Thu Aug 20 14:45:05 2026 +0800 gcc.target/i386/pr84876.c: Compile with -mno-avx512f Compile gcc.target/i386/pr84876.c with -mno-avx512f to disable xmm16-xm31 registers to get the expected error: ../gcc.target/i386/pr84876.c:6:3: error: ‘asm’ operand has impossible constraints or there are not enough registers when AVX512F is enabled by default. PR testsuite/126923 * gcc.target/i386/pr84876.c (dg-options): Add -mno-avx512f. Signed-off-by: H.J. Lu <[email protected]> Diff: --- gcc/testsuite/gcc.target/i386/pr84876.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/i386/pr84876.c b/gcc/testsuite/gcc.target/i386/pr84876.c index f2d843010032..a552f24b0e54 100644 --- a/gcc/testsuite/gcc.target/i386/pr84876.c +++ b/gcc/testsuite/gcc.target/i386/pr84876.c @@ -1,5 +1,5 @@ /* { dg-do compile { target int128 } } */ -/* { dg-options "-w" } */ +/* { dg-options "-mno-avx512f -w" } */ __int128 test (__int128 a) {