diff mbox series

[committed] Fix complex-6 for rx target

Message ID 6ccc3b75-bd42-e339-b717-eaad47f9f3c2@redhat.com
State New
Headers show
Series [committed] Fix complex-6 for rx target | expand

Commit Message

Jeff Law Nov. 17, 2019, 4:30 p.m. UTC
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
* gcc.dg/complex-6.c: Do not run dump scan tests for rx target.
diff mbox series

Patch

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*-*-* } } } } */