summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/interrupt-redzone.c
blob: d59eb6639665746824d61b47a652961237150824 (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile { target { ! { ia32 } } } } */
/* { dg-options "-mabi=sysv" } */
extern int a;
void __attribute__((interrupt)) bar ()
  {
    a = 4;
  }

/* { dg-final { scan-assembler "addq\t\\\$-?128, %rsp" } } */
/* { dg-final { scan-assembler "subq\t\\\$-?128, %rsp" } } */