diff options
author | Giuliano Belinassi <giuliano.belinassi@usp.br> | 2019-04-30 15:06:31 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2019-04-30 09:06:31 -0600 |
commit | 7df942516727f9043403090ad0e3319afbc11adc (patch) | |
tree | d1fb7905b46dc03da2d7699f742fc1170edccf64 | |
parent | 6c8dbbfe5cf50fbc86ddaccb8dec43d6e3cdd492 (diff) | |
download | gcc-7df942516727f9043403090ad0e3319afbc11adc.zip gcc-7df942516727f9043403090ad0e3319afbc11adc.tar.gz gcc-7df942516727f9043403090ad0e3319afbc11adc.tar.bz2 |
sinhatanh-2.c: Count the number of functions.
* gcc.dg/sinhatanh-2.c: Count the number of functions.
* gcc.dg/sinhatanh-3.c: Likewise.
From-SVN: r270703
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/sinhatanh-2.c | 18 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/sinhatanh-3.c | 18 |
3 files changed, 23 insertions, 18 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b05cdcf..585b350 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-04-30 Giuliano Belinassi <giuliano.belinassi@usp.br> + + * gcc.dg/sinhatanh-2.c: Count the number of functions. + * gcc.dg/sinhatanh-3.c: Likewise. + 2019-04-30 Martin Liska <mliska@suse.cz> * gcc.dg/Werror-13.c: Add new tests for it. diff --git a/gcc/testsuite/gcc.dg/sinhatanh-2.c b/gcc/testsuite/gcc.dg/sinhatanh-2.c index 40a9b8b..ca0b616 100644 --- a/gcc/testsuite/gcc.dg/sinhatanh-2.c +++ b/gcc/testsuite/gcc.dg/sinhatanh-2.c @@ -57,12 +57,12 @@ sinatanl_(long double x) } /* There should be calls to sinh, cosh and atanh */ -/* { dg-final { scan-tree-dump "cosh " "optimized" } } */ -/* { dg-final { scan-tree-dump "sinh " "optimized" } } */ -/* { dg-final { scan-tree-dump "atanh " "optimized" } } */ -/* { dg-final { scan-tree-dump "coshf " "optimized" } } */ -/* { dg-final { scan-tree-dump "sinhf " "optimized" } } */ -/* { dg-final { scan-tree-dump "atanhf " "optimized" } } */ -/* { dg-final { scan-tree-dump "coshl " "optimized" } } */ -/* { dg-final { scan-tree-dump "sinhl " "optimized" } } */ -/* { dg-final { scan-tree-dump "atanhl " "optimized" } } */ +/* { dg-final { scan-tree-dump-times "cosh " "1" "optimized" } } */ +/* { dg-final { scan-tree-dump-times "sinh " "1" "optimized" } } */ +/* { dg-final { scan-tree-dump-times "atanh " "2" "optimized" } } */ +/* { dg-final { scan-tree-dump-times "coshf " "1" "optimized" } } */ +/* { dg-final { scan-tree-dump-times "sinhf " "1" "optimized" } } */ +/* { dg-final { scan-tree-dump-times "atanhf " "2" "optimized" } } */ +/* { dg-final { scan-tree-dump-times "coshl " "1" "optimized" } } */ +/* { dg-final { scan-tree-dump-times "sinhl " "1" "optimized" } } */ +/* { dg-final { scan-tree-dump-times "atanhl " "2" "optimized" } } */ diff --git a/gcc/testsuite/gcc.dg/sinhatanh-3.c b/gcc/testsuite/gcc.dg/sinhatanh-3.c index 32e2de5..ad0353a 100644 --- a/gcc/testsuite/gcc.dg/sinhatanh-3.c +++ b/gcc/testsuite/gcc.dg/sinhatanh-3.c @@ -51,12 +51,12 @@ coshatanhl_ (long double x) } /* There should be calls to sinh, cosh and atanh */ -/* { dg-final { scan-tree-dump "cosh " "optimized" } } */ -/* { dg-final { scan-tree-dump "sinh " "optimized" } } */ -/* { dg-final { scan-tree-dump "atanh " "optimized" } } */ -/* { dg-final { scan-tree-dump "coshf " "optimized" } } */ -/* { dg-final { scan-tree-dump "sinhf " "optimized" } } */ -/* { dg-final { scan-tree-dump "atanhf " "optimized" } } */ -/* { dg-final { scan-tree-dump "coshl " "optimized" } } */ -/* { dg-final { scan-tree-dump "sinhl " "optimized" } } */ -/* { dg-final { scan-tree-dump "atanhl " "optimized" } } */ +/* { dg-final { scan-tree-dump-times "cosh " "1" "optimized" } } */ +/* { dg-final { scan-tree-dump-times "sinh " "1" "optimized" } } */ +/* { dg-final { scan-tree-dump-times "atanh " "2" "optimized" } } */ +/* { dg-final { scan-tree-dump-times "coshf " "1" "optimized" } } */ +/* { dg-final { scan-tree-dump-times "sinhf " "1" "optimized" } } */ +/* { dg-final { scan-tree-dump-times "atanhf " "2" "optimized" } } */ +/* { dg-final { scan-tree-dump-times "coshl " "1" "optimized" } } */ +/* { dg-final { scan-tree-dump-times "sinhl " "1" "optimized" } } */ +/* { dg-final { scan-tree-dump-times "atanhl " "2" "optimized" } } */ |