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
2018-01-24 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr42245-2.c
blob
e99fe3759d9eda4ed30afb599ede700b8c7d7ea7
1
/* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* 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