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
Rebase.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr42245-2.c
blob
48f9e0eb8537d7f9d2cb9353079e0ead3de6b127
1
/* { dg-do compile { target powerpc*-*-* ia64-*-* x86_64-*-* } } */
2
/* { dg-options "-O2 -fselective-scheduling -fsel-sched-pipelining" } */
3
4
int
5
strictly_smaller_name
(
char
*
s
,
char
*
t
)
6
{
7
int
ss
,
tt
;
8
while
((*
s
!=
'\0'
) || (*
t
!=
'\0'
))
9
{
10
if
(*
s
==
'\0'
)
11
ss
=
'*'
;
12
else
13
ss
= *
s
++;
14
if
(*
t
!=
'\0'
)
15
tt
= *
t
;
16
if
(
ss
==
tt
)
17
return
0
;
18
}
19
}
20