Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/builtins-59.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* { dg-do compile } */ |
2 /* { dg-options "-fdump-tree-gimple" } */ | |
3 /* { dg-require-effective-target c99_runtime } */ | |
4 /* { dg-require-effective-target libc_has_complex_functions } */ | |
5 | |
6 double test (double x) | |
7 { | |
8 double s, c; | |
9 __builtin_sincos (x, &s, &c); | |
10 return s + c; | |
11 } | |
12 | |
13 /* { dg-final { scan-tree-dump "__builtin_cexpi" "gimple" } } */ | |
14 /* { dg-final { scan-tree-dump-not "sincos" "gimple" } } */ |