1  /* PR target/81644 */
       2  /* { dg-do compile } */
       3  /* { dg-options "-O2" } */
       4  /* { dg-additional-options "-mregparm=1" { target ia32 } } */
       5  
       6  void b (void);
       7  
       8  void
       9  __attribute__ ((naked))
      10  a (int z)
      11  {
      12    if (z)
      13      return;
      14    b ();
      15  }