summaryrefslogtreecommitdiff
path: root/support/regression/tests/gcc-torture-execute-pr66757.c
blob: 85899365cfa7d85e78a513a1ff4213f61ed3ff9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
   pr66757.c from the execute part of the gcc torture tests.
 */

#include <testfwk.h>

/* PR tree-optimization/66757 */
/* Testcase by Zhendong Su <su@cs.ucdavis.edu> */

int a, b;

void
testTortureExecute (void)
{
  unsigned int t = (unsigned char) (~b); 

  if ((t ^ 1) / 255)
    ASSERT (0); 

  return;
}