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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gcc.dg/] [pr32975.c] - Diff between revs 298 and 338

Only display areas with differences | Details | Blame | View Log

Rev 298 Rev 338
/* PR tree-optimization/32975 */
/* PR tree-optimization/32975 */
/* { dg-do compile } */
/* { dg-do compile } */
/* { dg-options "-O1 -finline-functions -fipa-cp" } */
/* { dg-options "-O1 -finline-functions -fipa-cp" } */
 
 
static int
static int
f0 (char *s0, char *s1)
f0 (char *s0, char *s1)
{
{
  return __builtin_strlen (s0) > __builtin_strlen (s1);
  return __builtin_strlen (s0) > __builtin_strlen (s1);
}
}
 
 
int
int
f1 (char *s, int j)
f1 (char *s, int j)
{
{
  if (f0 (s, ""))
  if (f0 (s, ""))
    return 1;
    return 1;
  return j;
  return j;
}
}
 
 
void
void
f2 (char *s)
f2 (char *s)
{
{
  f1 (s, 0);
  f1 (s, 0);
}
}
 
 

powered by: WebSVN 2.1.0

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