Skip to content

Commit 5b3f42d

Browse files
granatamamonakov
authored andcommitted
i386: Fix incorrect attributes-error.c test
gcc/testsuite/ChangeLog: * gcc.target/i386/attributes-error.c: Change incorrect sseregparm,fastcall combination to cdecl,fastcall.
1 parent 8b06c58 commit 5b3f42d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gcc/testsuite/gcc.target/i386/attributes-error.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* { dg-options "-msse2" } */
12
/* { dg-do compile } */
23
/* { dg-require-effective-target ia32 } */
34

@@ -9,7 +10,7 @@ void foo5(int i, int j) __attribute__((sseregparm, regparm(2)));
910

1011
void foo6(int i, int j) __attribute__((stdcall, fastcall)); /* { dg-error "not compatible" } */
1112
void foo7(int i, int j) __attribute__((regparm(2), fastcall)); /* { dg-error "not compatible" } */
12-
void foo8(int i, int j) __attribute__((sseregparm, fastcall)); /* { dg-error "not compatible" } */
13+
void foo8(int i, int j) __attribute__((cdecl, fastcall)); /* { dg-error "not compatible" } */
1314
void foo9(int i, int j) __attribute__((thiscall, fastcall)); /* { dg-error "not compatible" } */
1415
void foo10(int i, int j) __attribute__((sseregparm, fastcall));
1516

0 commit comments

Comments
 (0)