OSDN Git Service

2011-10-19 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / builtins-59.c
1 /* { dg-do compile } */
2 /* { dg-options "-fdump-tree-gimple" } */
3 /* { dg-require-effective-target c99_runtime } */
4
5 double test (double x)
6 {
7   double s, c;
8   __builtin_sincos (x, &s, &c);
9   return s + c;
10 }
11
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" } } */