public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Update sinhatanh test
@ 2019-01-10 20:52 Giuliano Belinassi
  2019-04-29 21:48 ` Giuliano Augusto Faulin Belinassi
  0 siblings, 1 reply; 3+ messages in thread
From: Giuliano Belinassi @ 2019-01-10 20:52 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 305 bytes --]

Previously, the tests 'sinhatanh-2.c' and 'sinhatanh-3.c' did not count
the number of functions found in the tree-dump. This patch address this
issue.

2019-01-10  Giuliano Belinassi  <giuliano.belinassi@usp.br>

	* gcc.dg/sinhatanh-2.c: Count the number of functions.
	* gcc.dg/sinhatanh-3.c: Likewise.


[-- Attachment #2: testupdate.patch --]
[-- Type: text/x-diff, Size: 2938 bytes --]

Index: gcc/testsuite/gcc.dg/sinhatanh-2.c
===================================================================
--- gcc/testsuite/gcc.dg/sinhatanh-2.c	(revision 267815)
+++ gcc/testsuite/gcc.dg/sinhatanh-2.c	(working copy)
@@ -57,12 +57,12 @@
 }
 
 /* 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: gcc/testsuite/gcc.dg/sinhatanh-3.c
===================================================================
--- gcc/testsuite/gcc.dg/sinhatanh-3.c	(revision 267815)
+++ gcc/testsuite/gcc.dg/sinhatanh-3.c	(working copy)
@@ -51,12 +51,12 @@
 }
 
 /* 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" } } */

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Update sinhatanh test
  2019-01-10 20:52 [PATCH] Update sinhatanh test Giuliano Belinassi
@ 2019-04-29 21:48 ` Giuliano Augusto Faulin Belinassi
  2019-04-30 15:08   ` Jeff Law
  0 siblings, 1 reply; 3+ messages in thread
From: Giuliano Augusto Faulin Belinassi @ 2019-04-29 21:48 UTC (permalink / raw)
  To: GCC Patches

Hi.
Ping :-)
(I hope I am not bothering you with it)
Giuliano.

On Thu, Jan 10, 2019 at 6:51 PM Giuliano Belinassi
<giuliano.belinassi@usp.br> wrote:
>
> Previously, the tests 'sinhatanh-2.c' and 'sinhatanh-3.c' did not count
> the number of functions found in the tree-dump. This patch address this
> issue.
>
> 2019-01-10  Giuliano Belinassi  <giuliano.belinassi@usp.br>
>
>         * gcc.dg/sinhatanh-2.c: Count the number of functions.
>         * gcc.dg/sinhatanh-3.c: Likewise.
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Update sinhatanh test
  2019-04-29 21:48 ` Giuliano Augusto Faulin Belinassi
@ 2019-04-30 15:08   ` Jeff Law
  0 siblings, 0 replies; 3+ messages in thread
From: Jeff Law @ 2019-04-30 15:08 UTC (permalink / raw)
  To: Giuliano Augusto Faulin Belinassi, GCC Patches

On 4/29/19 3:41 PM, Giuliano Augusto Faulin Belinassi wrote:
> Hi.
> Ping :-)
> (I hope I am not bothering you with it)
> Giuliano.
> 
> On Thu, Jan 10, 2019 at 6:51 PM Giuliano Belinassi
> <giuliano.belinassi@usp.br> wrote:
>>
>> Previously, the tests 'sinhatanh-2.c' and 'sinhatanh-3.c' did not count
>> the number of functions found in the tree-dump. This patch address this
>> issue.
>>
>> 2019-01-10  Giuliano Belinassi  <giuliano.belinassi@usp.br>
>>
>>         * gcc.dg/sinhatanh-2.c: Count the number of functions.
>>         * gcc.dg/sinhatanh-3.c: Likewise.
>>
Thanks for the ping.  The patch wasn't even in my queue of things to
look at.

I've installed the patch on the trunk.

jeff

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-04-30 15:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-10 20:52 [PATCH] Update sinhatanh test Giuliano Belinassi
2019-04-29 21:48 ` Giuliano Augusto Faulin Belinassi
2019-04-30 15:08   ` Jeff Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).