1  /* PR target/92549 */
       2  /* { dg-do compile } */
       3  /* { dg-options "-Os -masm=att" } */
       4  /* { dg-additional-options "-mregparm=2" { target ia32 } } */
       5  /* { dg-final { scan-assembler "xchgl" } } */
       6  
       7  __attribute__((noipa)) int
       8  bar (int a, int b)
       9  {
      10    return b - a + 5;
      11  }
      12  
      13  int
      14  foo (int a, int b)
      15  {
      16    return 1 + bar (b, a);
      17  }