Debian Codegraph @

gcc/testsuite/gcc.c-torture/compile/386.c

raw
1 /* { dg-require-effective-target untyped_assembly } */
2 /* { dg-additional-options "-std=gnu89" } */
3
4 foo (a, p)
5 int *p;
6 {
7 p[0] = a;
8 a = (short) a;
9 return a;
10 }
11
12 main ()
13 {
14 int i;
15 foobar (i, &i);
16 }
17
18
19 foobar (a, b)
20 {
21 int c;
22
23 c = a % b;
24 a = a / b;
25 return a + b;
26 }