OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [libcall-1.c] - Blame information for rev 841

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* 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
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.