1 /* { dg-do compile } */
2 /* { dg-options "-O2 -ffast-math -fdump-tree-forwprop-details" } */
3 /* { dg-require-effective-target c99_runtime } */
5 #define T(n, type, fname) \
8 type t1 = __builtin_##fname (x); \
15 /* { dg-final { scan-tree-dump "gimple_simplified to t2_\[0-9\]+ = __builtin_sqrt .x_\[0-9\]*.D.." "forwprop1" } } */
19 /* { dg-final { scan-tree-dump "gimple_simplified to t2_\[0-9\]+ = __builtin_sqrtf .x_\[0-9\]*.D.." "forwprop1" } } */
21 T(3, long double, sqrtl
)
23 /* { dg-final { scan-tree-dump "gimple_simplified to t2_\[0-9\]+ = __builtin_sqrtl .x_\[0-9\]*.D.." "forwprop1" } } */