aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/powerpc/pr99708-2.c
blob: e6f9358e313a97639f66e8e241cbd1319c40044a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* PR target/99708 */
/* { dg-do compile } */

#ifdef __SIZEOF_IBM128__
__ibm128 f = 1.0;
#endif
#ifdef __SIZEOF_IEEE128__
__ieee128 g = 1.0;
#endif
long double h = 1.0;

void
foo (void)
{
#ifdef __SIZEOF_IBM128__
  f += 2.0;
#endif
#ifdef __SIZEOF_IEEE128__
  g += 2.0;
#endif
  h += 2.0;
}