sinhatanh-2.c: Count the number of functions.
authorGiuliano Belinassi <giuliano.belinassi@usp.br>
Tue, 30 Apr 2019 15:06:31 +0000 (15:06 +0000)
committerJeff Law <law@gcc.gnu.org>
Tue, 30 Apr 2019 15:06:31 +0000 (09:06 -0600)
* gcc.dg/sinhatanh-2.c: Count the number of functions.
* gcc.dg/sinhatanh-3.c: Likewise.

From-SVN: r270703

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/sinhatanh-2.c
gcc/testsuite/gcc.dg/sinhatanh-3.c

index b05cdcf5fa58caed45d626df680c0dc70a92f5e5..585b35091624a54ef066985ad60cabbd7bcc920e 100644 (file)
@@ -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.
index 40a9b8b44438bab558f2a61bb93fe0273e37b0c1..ca0b6162c7881b70ac68292d45a997a56c39786a 100644 (file)
@@ -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" } } */
index 32e2de5a04330d44802af5d6b5a8b7cd6b004741..ad0353ae8282ab4c72f51840d4ea2d0205382f64 100644 (file)
@@ -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" } } */