aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/powerpc/pr79947.c
blob: 970e8c0ca892d1ec89801de621d740f126032121 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile { target { powerpc*-*-* } } } */
/* { dg-options "-Ofast -mno-powerpc-gfxopt -mcmpb -mno-vsx" } */

/* PR 79949: Compiler segmentation fault due to not having conditional move
   support for the target if the -mno-powerpc-gfxopt option is used.  */

float a, b;
void
c ()
{
  a = __builtin_sqrtf (b);
}