(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
i386/
pr96539.c
       1  /* PR rtl-optimization/96539 */
       2  /* { dg-do compile } *
       3  /* { dg-options "-Os" } */
       4  /* The need to restore the PIC register prevents PLT tail-calls on ia32,
       5     so S has to be copied to call baz.  */
       6  /* { dg-additional-options "-fno-PIE" { target ia32 } } */
       7  /* { dg-final { scan-assembler-not "rep\[^\n\r]\*movs" } } */
       8  
       9  struct A { int a, b, c, d, e, f; void *g, *h, *i, *j, *k, *l, *m; };
      10  
      11  int bar (int a);
      12  int baz (int a, int b, int c, void *p, struct A s);
      13  
      14  int
      15  foo (int a, int b, int c, void *p, struct A s)
      16  {
      17    bar (a);
      18    return baz (a, b, c, p, s);
      19  }