diff mbox

[testsuite] Minor tweaks for visium

Message ID 2137979.zPLcPSyIJH@polaris
State New
Headers show

Commit Message

Eric Botcazou Sept. 13, 2015, 5:18 p.m. UTC
The FPU of the GR5 doesn't preserve NaNs so the new signbit test added to 
type-generic-1.c fails.  Same as ARM for Wno-frame-address.c.  The range of 
offset in addresses is quite limited so there is one more IV in loop-8.c.

Tested on visium-elf, applied on the mainline.


2015-09-13  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc.dg/torture/type-generic-1.c: Pass -DUNSAFE for Visium.
	* gcc.dg/Wno-frame-address.c: Skip for Visium.
	* gcc.dg/loop-8.c: Likewise.
diff mbox

Patch

Index: gcc.dg/torture/type-generic-1.c
===================================================================
--- gcc.dg/torture/type-generic-1.c	(revision 227628)
+++ gcc.dg/torture/type-generic-1.c	(working copy)
@@ -3,7 +3,7 @@ 
 
 /* { dg-do run } */
 /* { dg-skip-if "No Inf/NaN support" { spu-*-* } } */
-/* { dg-options "-DUNSAFE" { target tic6x*-*-* } } */
+/* { dg-options "-DUNSAFE" { target tic6x*-*-* visium-*-* } } */
 /* { dg-add-options ieee } */
 
 #include "../tg-tests.h"
Index: gcc.dg/Wno-frame-address.c
===================================================================
--- gcc.dg/Wno-frame-address.c	(revision 227628)
+++ gcc.dg/Wno-frame-address.c	(working copy)
@@ -1,5 +1,5 @@ 
 /* { dg-do compile } */
-/* { dg-skip-if "Cannot access arbitrary stack frames." { arm*-*-* } } */
+/* { dg-skip-if "Cannot access arbitrary stack frames" { arm*-*-* visium-*-* } } */
 /* { dg-options "-Werror" } */
 
 /* Verify that -Wframe-address is not enabled by default by enabling
Index: gcc.dg/loop-8.c
===================================================================
--- gcc.dg/loop-8.c	(revision 227628)
+++ gcc.dg/loop-8.c	(working copy)
@@ -1,5 +1,6 @@ 
 /* { dg-do compile } */
 /* { dg-options "-O1 -fdump-rtl-loop2_invariant" } */
+/* { dg-skip-if "unexpected IV" { "visium-*-*" } { "*" } { "" } } */
 
 void
 f (int *a, int *b)