repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[NDS32] Add intrinsic functions for TLB operation and data prefech.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr32975.c
blob
8ddb0d8d2f2626d56e68df70b342a042b9585f30
1
/* 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
}