Debian Codegraph @

gcc/testsuite/gcc.target/powerpc/pr116030.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-mdejagnu-cpu=power8 -Os -fno-forward-propagate -ftrivial-auto-var-init=zero" } */
3 /* { dg-require-effective-target dfp } */
4
5 /* Verify we do not ICE on the tests below. */
6
7 /* { dg-final { scan-assembler-not "rldicr" { target { le } } } } */
8 /* { dg-final { scan-assembler-not "stxvd2x" { target { le } } } } */
9
10 union U128
11 {
12 _Decimal128 d;
13 unsigned long long int u[2];
14 };
15
16 union U128
17 foo ()
18 {
19 volatile union U128 u128;
20 u128.d = 0.9999999999999999999999999999999999e+39DL;
21 return u128;
22 }