aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/powerpc/pr116170.c
blob: fb0c88e3fbf9274e14fc6cbcb8565b2262b4e85e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* { dg-do compile } */
/* { dg-require-effective-target ppc_float128_sw } */
/* { dg-options "-mdejagnu-cpu=power8 -O2 -fstack-protector-strong -ffloat-store -std=gnu17" } */

/* Verify there is no ICE.  */

int a, d;
_Float128 b, c;
void
e ()
{
  int f = 0;
  if (a)
    if (b || c)
      f = 1;
  if (d)
    e (f ? 0 : b);
}