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-01-24 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
pr52286.c
blob
bb56295ab5296124538b12f842e3a64b56d8e00b
1
/* PR tree-optimization/52286 */
2
3
extern
void
abort
(
void
);
4
5
int
6
main
()
7
{
8
#if __SIZEOF_INT__ > 2
9
int
a
,
b
;
10
asm
(
""
:
"=r"
(
a
) :
"0"
(
0
));
11
b
= (~
a
|
1
) & -
2038094497
;
12
#else
13
long
a
,
b
;
14
asm
(
""
:
"=r"
(
a
) :
"0"
(
0
));
15
b
= (~
a
|
1
) & -
2038094497L
;
16
#endif
17
if
(
b
>=
0
)
18
abort
();
19
return
0
;
20
}