Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.c-torture/compile/libcall-1.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* Failed on ARM because rtx_varies_p didn't like the REG_EQUAL notes generated for libcalls. http://gcc.gnu.org/ml/gcc-patches/2004-02/msg01518.html */ static const char digs[] = "0123456789ABCDEF"; int __attribute__((pure)) bar(); int foo (int i) { int len; if (i) return 0; len = bar(); return digs[len]; }