summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20020315-1.c
blob: c6c9daa2f720272e2f95f526236e942fc3ab1575 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/* PR bootstrap/4128 */

extern int bar (char *, char *, int, int);
extern long baz (char *, char *, int, int);

int sgt (char *a, char *b, int c, int d)
{
  return bar (a, b, c, d) > 0;
}

long dgt (char *a, char *b, int c, int d)
{
  return baz (a, b, c, d) > 0;
}

int sne (char *a, char *b, int c, int d)
{
  return bar (a, b, c, d) != 0;
}

long dne (char *a, char *b, int c, int d)
{
  return baz (a, b, c, d) != 0;
}

int seq (char *a, char *b, int c, int d)
{
  return bar (a, b, c, d) == 0;
}

long deq (char *a, char *b, int c, int d)
{
  return baz (a, b, c, d) == 0;
}