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
Tighten condition in vect/pr85586.c (PR 85654)
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
max.c
blob
e9798104228440f075a7dd1397d394e0fe23dd5d
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-optimized" } */
3
4
static
inline
int
5
max
(
int
a
,
int
b
)
6
{
7
return
a
<
b
?
b
:
a
;
8
}
9
10
int
11
test_00
(
int
a
)
12
{
13
return
max
(
a
,
a
+
8
);
14
}
15
16
int
17
test_01
(
int
a
)
18
{
19
return
max
(
a
,
a
-
8
);
20
}
21
22
/* { dg-final { scan-tree-dump-not "MAX_EXPR" "optimized" } } */