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
Use conditional internal functions in if-conversion
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
arm
/
minmax_minus.c
blob
906342a87cfe7f47b56b61363775ae5c88a2fdc9
1
/* { dg-do compile } */
2
/* { dg-require-effective-target arm_cond_exec } */
3
/* { dg-options "-O2" } */
4
5
#define MAX(a, b) (a > b ? a : b)
6
int
7
foo
(
int
a
,
int
b
,
int
c
)
8
{
9
return
c
-
MAX
(
a
,
b
);
10
}
11
12
/* { dg-final { scan-assembler-not "mov" } } */