summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/pr47155.c
blob: 6210a2feef18fe6e181f41d9d2455caefa87aa72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* PR tree-optimization/47155 */

unsigned int a;
static signed char b = -127;
int c = 1;

int
main (void)
{
  a = b <= (unsigned char) (-6 * c);
  if (!a)
    __builtin_abort ();
  return 0;
}