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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr32975.c] - Blame information for rev 801

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

Line No. Rev Author Line
1 689 jeremybenn
/* PR tree-optimization/32975 */
2
/* { dg-do compile } */
3
/* { dg-options "-O1 -finline-functions -fipa-cp" } */
4
 
5
static int
6
f0 (char *s0, char *s1)
7
{
8
  return __builtin_strlen (s0) > __builtin_strlen (s1);
9
}
10
 
11
int
12
f1 (char *s, int j)
13
{
14
  if (f0 (s, ""))
15
    return 1;
16
  return j;
17
}
18
 
19
void
20
f2 (char *s)
21
{
22
  f1 (s, 0);
23
}

powered by: WebSVN 2.1.0

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