From 7df942516727f9043403090ad0e3319afbc11adc Mon Sep 17 00:00:00 2001 From: Giuliano Belinassi Date: Tue, 30 Apr 2019 15:06:31 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/sinhatanh-2.c | 18 +++++++++--------- 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 b05cdcf5fa5..585b3509162 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-04-30 Giuliano Belinassi + + * gcc.dg/sinhatanh-2.c: Count the number of functions. + * gcc.dg/sinhatanh-3.c: Likewise. + 2019-04-30 Martin Liska * 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 40a9b8b4443..ca0b6162c78 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 32e2de5a043..ad0353ae828 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" } } */ -- 2.30.2