aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr98099.c
blob: c78d43e838b6a3dfe2f60df8bacd8d0a5d90c93f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* PR middle-end/98099 */
/* Reported by G. Steinmetz <gscfq@t-online.de> */

/* { dg-do compile { target { dfp && { be || le } } } } */
/* { dg-options "-fsso-struct=big-endian" { target le } } */
/* { dg-options "-fsso-struct=little-endian" { target be } } */

struct S { _Decimal128 a; };

_Decimal128 f (struct S x)
{
  return x.a; /* { dg-message "sorry, unimplemented: reverse storage order" "" { target { ! int128 } } } */
}