summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr37664.c
blob: cf5c83d7b2decef794f2cd19d41cac9f0c4cd378 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* PR tree-optimization/37664 */

int v;

int
foo ()
{
  int a = 0x8899A862;
  int b = 0x8E * a;
  int c = (b % b);
  if (v > (4294967295U >> c))
    return v;
  return 0;
}