| 1 |
/* Test for ICE arising from GCC target pragma. */ |
| 2 |
/* { dg-do compile } */ |
| 3 |
/* { dg-options "-O2" } */ |
| 4 |
|
| 5 |
#pragma GCC target "no-powerpc-gpopt" |
| 6 |
double |
| 7 |
foo (double a) |
| 8 |
{ |
| 9 |
return __builtin_sqrt (a); |
| 10 |
} |
| 11 |
/* { dg-final { scan-assembler-not "fsqrt" } } */ |