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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr78546-2.c
blob
afec5b5bfc8e12b2280b857c68f71e966e8018f9
1
/* PR rtl-optimization/78546 */
2
/* { dg-do run { target int128 } } */
3
4
typedef
unsigned
__int128 u128
;
5
u128 b
;
6
7
int
8
main
()
9
{
10
asm
volatile
(
""
: : :
"memory"
);
11
u128 x
= ((
u128
) ~
0x7fffffffffffffff
LL
) -
b
;
12
u128 y
=
1
-
x
;
13
if
(
y
!=
0x8000000000000001
ULL
)
14
__builtin_abort
();
15
return
0
;
16
}