☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
addcc.c
☽
☼
gcc/testsuite/gcc.c-torture/compile/addcc.c
code
plain
raw
1
/* { dg-additional-options "-std=gnu89" } */
2
3
foo (p, a, b)
4
int *p;
5
int a;
6
int b;
7
{
8
9
a += p[0];
10
b += p[1];
11
if (a == 0)
12
return b;
13
return a;
14
}
15
16
17
bar (a)
18
{
19
return -a > 0 ? 1 : 2;
20
}