Debian Codegraph @

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

raw
1 /* { dg-additional-options "-std=gnu89" } */
2
3 typedef int xtype;
4
5 foo (p, pc)
6 xtype *p;
7 char *pc;
8 {
9 xtype a;
10 unsigned b = 0;
11
12 a = *p;
13 p[1] = a;
14 if ((unsigned) p[1] > 0)
15 return 1;
16 return a;
17 }