gcc/testsuite/gcc.dg/recip_sqrt_mult_2.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-Ofast -fdump-tree-optimized" } */ |
| 3 | /* { dg-additional-options "-fcompare-debug" { target { ! powerpc-ibm-aix* } } } */ |
| 4 | |
| 5 | float |
| 6 | foo (float a) |
| 7 | { |
| 8 | float tmp = 1.0f / __builtin_sqrtf (a); |
| 9 | return a * tmp; |
| 10 | } |
| 11 | |
| 12 | /* { dg-final { scan-tree-dump-not " / " "optimized" } } */ |