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
c++: Fix ICE with #embed/RAW_DATA_CST after list conversion [PR118671]
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
dfp
/
pr70052.c
blob
53eb0757a81324bd1d300d625c5af527a5a11247
1
/* { dg-do compile } */
2
/* { dg-options "-O1" } */
3
4
typedef
struct
5
{
6
_Decimal128 td0
;
7
_Decimal128 td1
;
8
}
TDx2_t
;
9
10
11
TDx2_t
12
D256_add_finite
(
void
)
13
{
14
_Decimal128 z
,
zz
;
15
TDx2_t result
= {
0
.
DL
,
0
.
DL
};
16
17
if
(
zz
==
0
.
DL
)
18
{
19
result
.
td0
=
z
;
20
return
result
;
21
}
22
23
return
result
;
24
}