[gcc r17-3461] uintr-4.c: Check SSE, AVX or AVX512 in the error message
"H.J. Lu via Gcc-cvs" <[email protected]>
| Newsgroups | gmane.comp.gcc.cvs |
|---|---|
| Message-ID | <[email protected]> |
https://gcc.gnu.org/g:beaa3e1858efd806829c584ded21d70230a342a0 commit r17-3461-gbeaa3e1858efd806829c584ded21d70230a342a0 Author: H.J. Lu <[email protected]> Date: Thu Aug 20 15:12:29 2026 +0800 uintr-4.c: Check SSE, AVX or AVX512 in the error message When AVX or AVX512F is enabled by default, we get the error message sorry, unimplemented: AVX instructions aren’t allowed in an exception service routine or sorry, unimplemented: AVX512 instructions aren’t allowed in an exception service routine instead of sorry, unimplemented: SSE instructions aren’t allowed in an exception service routine Update to check SSE, AVX or AVX512 in the expected error message. PR target/126959 * gcc.target/i386/uintr-4.c: Check SSE, AVX or AVX512 in the expected error message. Signed-off-by: H.J. Lu <[email protected]> Diff: --- gcc/testsuite/gcc.target/i386/uintr-4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/i386/uintr-4.c b/gcc/testsuite/gcc.target/i386/uintr-4.c index 4d0ec34dfa0f..d5cf29f7a68b 100644 --- a/gcc/testsuite/gcc.target/i386/uintr-4.c +++ b/gcc/testsuite/gcc.target/i386/uintr-4.c @@ -7,5 +7,5 @@ typedef unsigned int uword_t __attribute__ ((mode (__word__))); void __attribute__ ((interrupt)) UINTR_handler (struct __uintr_frame *p, uword_t uirrv) -{ /* { dg-message "SSE instructions aren't allowed in an exception service routine" } */ +{ /* { dg-message "(SSE|AVX|AVX512) instructions aren't allowed in an exception service routine" } */ }