URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
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);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.