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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20110126-1.c] - Blame information for rev 774

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

Line No. Rev Author Line
1 688 jeremybenn
/* PR rtl-optimization/44469 */
2
/* Testcase by Siarhei Siamashka <siarhei.siamashka@gmail.com> */
3
 
4
int a (int *t, const char *p)
5
{
6
  if (*t == 0)
7
    {
8
    }
9
  else if (*t == 1)
10
    {
11
      p = (const char *)t;
12
    }
13
  else
14
    __builtin_unreachable();
15
  if (p[0])
16
    return 0;
17
  return 1;
18
}

powered by: WebSVN 2.1.0

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