(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
i386/
interrupt-3.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-O2 -mgeneral-regs-only -mno-cld -g" } */
       3  
       4  typedef unsigned int uword_t __attribute__ ((mode (__word__)));
       5  
       6  void
       7  __attribute__((interrupt))
       8  fn (void* frame, uword_t error)
       9  {
      10  }
      11  
      12  /* { dg-final { scan-assembler "(add|lea)(?:l|q)\[\\t \]*\\\$?8.*,\[\\t \]*%\[re\]?sp" { target { ! ia32 } } } } */
      13  /* { dg-final { scan-assembler "(addl|leal).*4.*%esp" { target ia32 } } } */
      14  /* { dg-final { scan-assembler-times "iret" 1 { target ia32 } } } */
      15  /* { dg-final { scan-assembler-times "iretq" 1 { target { ! ia32 } } } } */
      16  /* { dg-final { scan-assembler-not "\tcld" } } */