summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr48734.c
blob: b20ea80fb3f06e797a8bf9af494726d285bc31eb (plain)
1
2
3
4
5
6
7
8
9
10
11
/* PR tree-optimization/48734 */

unsigned int
foo (int x, unsigned int y, unsigned int z)
{
  z &= (x == -__INT_MAX__ - 1 ? x : -x) > y;
  z &= (x == -__INT_MAX__ - 1 ? x : -x) > y;
  z &= (x == -__INT_MAX__ - 1 ? x : -x) > y;
  z &= (x == -__INT_MAX__ - 1 ? x : -x) > y;
  return z;
}