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
Stop only if there aren't any usable algorithms
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
minmax-1.c
blob
b92b8f948a8f40131a381edf2d731ac2c867c5dd
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -march=opteron" } */
3
/* { dg-final { scan-assembler "test" } } */
4
/* { dg-final { scan-assembler-not "cmp" } } */
5
#define max(a,b) (((a) > (b))? (a) : (b))
6
int
7
t
(
int
a
)
8
{
9
return
(
max
(
a
,
1
));
10
}