Merged with mainline at revision 128810.
[official-gcc.git] / gcc / testsuite / gcc.dg / builtins-59.c
blobb940d39ed60ea131069298dd67e7bb644085c1fd
1 /* { dg-do compile } */
2 /* { dg-options "-fdump-tree-gimple" } */
3 /* { dg-require-effective-target c99_runtime } */
5 double test (double x)
7 double s, c;
8 __builtin_sincos (x, &s, &c);
9 return s + c;
12 /* { dg-final { scan-tree-dump "__builtin_cexpi" "gimple" } } */
13 /* { dg-final { scan-tree-dump-not "sincos" "gimple" } } */
14 /* { dg-final { cleanup-tree-dump "gimple" } } */