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 middle-end/77357 - strlen of constant strings not folded
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20141125-1.c
blob
6aa5665fbaf9f7ab93b209509fd0bd4b0195bf32
1
int
f
(
long long
a
)
__attribute__
((
noinline
,
noclone
));
2
int
f
(
long long
a
)
3
{
4
if
(
a
&
0x3ffffffffffffff
ull
)
5
return
1
;
6
return
1024
;
7
}
8
9
int
main
(
void
)
10
{
11
if
(
f
(
0x48375d8000000000
ull
) !=
1
)
12
__builtin_abort
();
13
if
(
f
(
0xfc00000000000000
ull
) !=
1024
)
14
__builtin_abort
();
15
return
0
;
16
}
17