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-03-08 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
pr45617.c
blob
58f977289c8648bcd21951451b60e81e1941f249
1
/* PR rtl-optimization/45617 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2" } */
4
5
int
f1
(
int
x
)
6
{
7
return
(
x
>>
23
) >
12
;
8
}
9
int
f2
(
int
x
)
10
{
11
return
x
> ((
13
<<
23
) -
1
);
12
}
13
int
f3
(
int
x
)
14
{
15
return
(
x
>>
23
) >=
12
;
16
}
17
int
f4
(
int
x
)
18
{
19
return
x
>= (
12
<<
23
);
20
}
21
22
/* { dg-final { scan-assembler-not "sarl" } } */