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
/
dfp
/
pr79487.c
blob
f76ddeeac37c42d1ce1862ae227dd907a90d37a1
1
/* PR target/79487 */
2
/* { dg-options "-O2" } */
3
4
int
5
main
()
6
{
7
_Decimal32 a
= (-
9223372036854775807LL
-
1LL
);
8
_Decimal32 b
= -
9.223372E+18
DF
;
9
if
(
b
-
a
!=
0.0
DF
)
10
__builtin_abort
();
11
_Decimal64 c
= (-
9223372036854775807LL
-
1LL
);
12
_Decimal64 d
= -
9.223372036854776E+18
DD
;
13
if
(
d
-
c
!=
0.0
DD
)
14
__builtin_abort
();
15
return
0
;
16
}