pr43662.c (dg-options): Add -maccumulate-outgoing-args.
[gcc.git] / gcc / testsuite / gcc.target / x86_64 / abi / callabi / func-2b.c
1 /* Test for cross x86_64<->w64 abi standard calls. */
2 /* { dg-options "-mabi=ms -std=gnu99 -ffast-math -fno-builtin -maccumulate-outgoing-args" } */
3
4 long double func_cross (long double a, double b, float c, long d, int e,
5 char f)
6 {
7 long double ret;
8 ret = a + (long double) b + (long double) c;
9 ret *= (long double) (d + (long) e);
10 if (f>0)
11 ret += func_cross (a,b,c,d,e,-f);
12 return ret;
13 }