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
[testsuite] require sqrt_insn effective target where needed
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
powerpc
/
block-cmp-3.c
blob
c7e853ad593101ee6d2b4fb67485a2270d87bd4a
1
/* { dg-do compile } */
2
/* { dg-options "-Os" } */
3
/* { dg-final { scan-assembler-times {\mb[l]? memcmp\M} 1 } } */
4
5
int
foo
(
const char
*
s1
,
const char
*
s2
)
6
{
7
return
__builtin_memcmp
(
s1
,
s2
,
4
);
8
}