x86: Properly check saved register CFA offset
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr81563.c
blobebfd583daf5b53fa80d628b011dc12849db73bc1
1 /* { dg-do compile { target ia32 } } */
2 /* { dg-options "-O2 -maccumulate-outgoing-args -mincoming-stack-boundary=2 -mpreferred-stack-boundary=3 -mregparm=3 -mtune-ctrl=epilogue_using_move" } */
4 extern void bar (long long int, int);
6 long long int
7 fn1 (long long int x)
9 bar (x, 1);
10 return x;
13 /* { dg-final { scan-assembler-times "movl\[\\t \]*-8\\(%ebp\\),\[\\t \]*%esi" 1 } } */
14 /* { dg-final { scan-assembler-times "movl\[\\t \]*-4\\(%ebp\\),\[\\t \]*%edi" 1 } } */