Debian Codegraph @

gcc/testsuite/gcc.c-torture/compile/libcall-1.c

raw
1 /* Failed on ARM because rtx_varies_p didn't like the REG_EQUAL notes
2 generated for libcalls.
3 http://gcc.gnu.org/ml/gcc-patches/2004-02/msg01518.html */
4 static const char digs[] = "0123456789ABCDEF";
5 int __attribute__((pure)) bar();
6
7 int foo (int i)
8 {
9 int len;
10 if (i)
11 return 0;
12 len = bar();
13 return digs[len];
14 }