(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr104675-2.c
       1  /* PR tree-optimization/104675 */
       2  /* { dg-do compile } */
       3  /* { dg-options "-O2" } */
       4  
       5  void baz (int i);
       6  
       7  void
       8  bar (_Complex int c, short s)
       9  {
      10    c -= s;
      11    baz (__real__ c + __imag__ c);
      12  }
      13  
      14  void
      15  foo (void)
      16  {
      17    bar (-1 - 1i, 0);
      18  }