diff options
Diffstat (limited to 'gcc-4.4.3/gcc/testsuite/gcc.dg/tree-prof/ffvpt-pro-4.c')
-rw-r--r-- | gcc-4.4.3/gcc/testsuite/gcc.dg/tree-prof/ffvpt-pro-4.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc-4.4.3/gcc/testsuite/gcc.dg/tree-prof/ffvpt-pro-4.c b/gcc-4.4.3/gcc/testsuite/gcc.dg/tree-prof/ffvpt-pro-4.c new file mode 100644 index 000000000..653a485c2 --- /dev/null +++ b/gcc-4.4.3/gcc/testsuite/gcc.dg/tree-prof/ffvpt-pro-4.c @@ -0,0 +1,13 @@ +/* { dg-options "-lm -ffvpt -ffvpt-functions=log,exp,pow,sqrt -O2 -fdump-tree-optimized -fdump-tree-tree_profile" } */ + +#define VAL (0.0 / 0.0) /* NAN */ + +#include "ffvpt-pro.h" + +/* { dg-final-use { scan-tree-dump "Math call \\(exp\\) to constant value: nan in main \\(use nan\\) \\(count:1000, all:1000\\)" "tree_profile"} } */ +/* { dg-final-use { scan-tree-dump-not "Math call \\(pow\\) with constant argument optimized" "tree_profile"} } */ +/* { dg-final-use { scan-tree-dump "Math call \\(log\\) to constant value: nan in main \\(use nan\\) \\(count:1000, all:1000\\)" "tree_profile"} } */ +/* { dg-final-use { scan-tree-dump "Math call \\(sqrt\\) to constant value: nan in main \\(use nan\\) \\(count:1000, all:1000\\)" "tree_profile"} } */ + +/* { dg-final-use { cleanup-tree-dump "optimized" } } */ +/* { dg-final-use { cleanup-tree-dump "tree_profile" } } */ |