(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.c-torture/
compile/
pr21562.c
       1  /* { dg-options "-fno-inline" } */
       2  struct foo { int a, b, c; };
       3  void abort(void);
       4  void exit(int);
       5  
       6  void
       7  brother (int a, int b, int c)
       8  {
       9    if (a)
      10      abort ();
      11  }
      12  
      13  void
      14  sister (struct foo f, int b, int c)
      15  {
      16    brother ((f.b == b), b, c);
      17  }
      18  
      19  int
      20  main ()
      21  {
      22    struct foo f = { 7, 8, 9 };
      23    sister (f, 1, 2);
      24    exit (0);
      25  }