public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] Fix complex-6 for rx target
@ 2019-11-17 16:54 Jeff Law
  0 siblings, 0 replies; only message in thread
From: Jeff Law @ 2019-11-17 16:54 UTC (permalink / raw)
  To: gcc-patches

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


Jakub's recent changes to fix 92449 regresses complex-6 on the rx port
because it defaults to !HONOR_NANs which compromises this test.

ISTM the best thing to do is just avoid the two dump scans for the rx
target.  I haven't seen another port trip over this so I didn't create
an effective-target test.

Installing on the trunk momentarily.

Jeff

[-- Attachment #2: P --]
[-- Type: text/plain, Size: 672 bytes --]

	* gcc.dg/complex-6.c: Do not run dump scan tests for rx target.

diff --git a/gcc/testsuite/gcc.dg/complex-6.c b/gcc/testsuite/gcc.dg/complex-6.c
index e70322bf6f3..a7eae1e2513 100644
--- a/gcc/testsuite/gcc.dg/complex-6.c
+++ b/gcc/testsuite/gcc.dg/complex-6.c
@@ -9,5 +9,5 @@ foo (__complex float a, __complex float b)
   return a * b;
 }
 
-/* { dg-final { scan-tree-dump-times "unord" 1 "cplxlower1" } } */
-/* { dg-final { scan-tree-dump-times "__mulsc3" 1 "cplxlower1" } } */
+/* { dg-final { scan-tree-dump-times "unord" 1 "cplxlower1" { target { ! rx*-*-* } } } } */
+/* { dg-final { scan-tree-dump-times "__mulsc3" 1 "cplxlower1" { target { ! rx*-*-* } } } } */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-11-17 16:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-17 16:54 [committed] Fix complex-6 for rx target 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).