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
PR tree-optimization/84740
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr26729-1.c
blob
2f55ef7f4f09d38605a2a1dd1a524a6076330850
1
/* { dg-do run } */
2
/* { dg-options "-O2" } */
3
4
void
abort
(
void
);
5
6
__attribute__
((
noinline
))
7
int
f
(
unsigned short
word
) {
8
return
(
word
&
0x1
) && (((
unsigned short
) (
word
&
0x8000
)) ==
0x8000
);
9
}
10
11
int
main
(
void
) {
12
if
(!
f
(
0x8001
))
13
abort
();
14
return
0
;
15
}
16