summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/dfp/pr37435.c
blob: 867fdd26bc49f4bc8ecc2b0110e14186803e91ee (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile { target fpic } } */
/* { dg-options "-O2 -fPIC" } */

volatile _Decimal32 d;
volatile int i;

void foo()
{
  d += i;
  d += i;
}