1  /* { dg-do compile { target *-*-linux* } } */
       2  /* { dg-options "-O2 -fzero-call-used-regs=all-gpr-arg" } */
       3  
       4  int 
       5  foo (int x)
       6  {
       7    return x;
       8  }
       9  
      10  /* { dg-final { scan-assembler "xorl\[ \t\]+%edx, %edx" } } */
      11  /* { dg-final { scan-assembler "xorl\[ \t\]+%ecx, %ecx" } } */
      12  /* { dg-final { scan-assembler "xorl\[ \t\]+%esi, %esi" { target { ! ia32 } } } } */
      13  /* { dg-final { scan-assembler "xorl\[ \t\]+%edi, %edi" { target { ! ia32 } } } } */
      14  /* { dg-final { scan-assembler "xorl\[ \t\]+%r8d, %r8d" { target { ! ia32 } } } } */
      15  /* { dg-final { scan-assembler "xorl\[ \t\]+%r9d, %r9d" { target { ! ia32 } } } } */