https://gcc.gnu.org/g:5b3f42dcae5574ed62f8d5806ccb67a278e07412
commit r16-2714-g5b3f42dcae5574ed62f8d5806ccb67a278e07412 Author: Artemiy Granat <a.gra...@ispras.ru> Date: Fri Aug 1 16:19:18 2025 +0300 i386: Fix incorrect attributes-error.c test gcc/testsuite/ChangeLog: * gcc.target/i386/attributes-error.c: Change incorrect sseregparm,fastcall combination to cdecl,fastcall. Diff: --- gcc/testsuite/gcc.target/i386/attributes-error.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/i386/attributes-error.c b/gcc/testsuite/gcc.target/i386/attributes-error.c index 935ea4db0af0..5d1c77dcca61 100644 --- a/gcc/testsuite/gcc.target/i386/attributes-error.c +++ b/gcc/testsuite/gcc.target/i386/attributes-error.c @@ -1,3 +1,4 @@ +/* { dg-options "-msse2" } */ /* { dg-do compile } */ /* { dg-require-effective-target ia32 } */ @@ -9,7 +10,7 @@ void foo5(int i, int j) __attribute__((sseregparm, regparm(2))); void foo6(int i, int j) __attribute__((stdcall, fastcall)); /* { dg-error "not compatible" } */ void foo7(int i, int j) __attribute__((regparm(2), fastcall)); /* { dg-error "not compatible" } */ -void foo8(int i, int j) __attribute__((sseregparm, fastcall)); /* { dg-error "not compatible" } */ +void foo8(int i, int j) __attribute__((cdecl, fastcall)); /* { dg-error "not compatible" } */ void foo9(int i, int j) __attribute__((thiscall, fastcall)); /* { dg-error "not compatible" } */ void foo10(int i, int j) __attribute__((sseregparm, fastcall));