(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr102356.c
       1  /* PR rtl-optimization/102356 */
       2  /* { dg-do compile { target int32plus } } */
       3  /* { dg-options "-O3 -g" } */
       4  
       5  signed char a = 0;
       6  unsigned char b = 9;
       7  unsigned long long c = 0xF1FBFC17225F7A57ULL;
       8  int d = 0x3A6667C6;
       9  
      10  unsigned char
      11  foo (unsigned int x)
      12  {
      13    unsigned int *e = &x;
      14    if ((c /= ((0 * (*e *= b)) <= 0)))
      15      ;
      16    for (d = 9; d > 2; d -= 2)
      17      {
      18        c = -2;
      19        do
      20  	if ((*e *= *e))
      21  	  {
      22  	    a = 4;
      23  	    do
      24  	      {
      25  		a -= 3;
      26  		if ((*e *= *e))
      27  		  b = 9;
      28  	      }
      29  	    while (a > 2);
      30  	  }
      31        while (c++);
      32      }
      33  }