diff mbox

[4.5/4.4] Backport a few testsuite adjustments

Message ID 201101171847.06686.ebotcazou@adacore.com
State New
Headers show

Commit Message

Eric Botcazou Jan. 17, 2011, 5:47 p.m. UTC
This backports a few testsuite adjustments for SPARC.  Also tested on x86.

Applied on the 4.5 branch and 4.4 branch (minus pr43430-1.c for the latter).


2011-01-17  Eric Botcazou  <ebotcazou@adacore.com>

	Backport from mainline
	2010-11-22  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc.dg/pr28796-2.c: SKIP on SPARC/Solaris 8.

	PR rtl-optimization/46603
	* gcc.dg/vect/slp-multitypes-2.c: XFAIL execution on SPARC 32-bit.

	2010-08-31  Bingfeng Mei  <bmei@broadcom.com>

	* gcc.dg/vect/pr43430-1.c: Requires vect_condition target.
diff mbox

Patch

Index: gcc.dg/pr28796-2.c
===================================================================
--- gcc.dg/pr28796-2.c	(revision 168890)
+++ gcc.dg/pr28796-2.c	(working copy)
@@ -2,6 +2,7 @@ 
 /* { dg-options "-O2 -funsafe-math-optimizations -fno-finite-math-only -DUNSAFE" } */
 /* { dg-add-options ieee } */
 /* { dg-skip-if "No Inf/NaN support" { spu-*-* } } */
+/* { dg-skip-if "Bug in _Q_dtoq" { sparc*-sun-solaris2.8 } } */
 
 #include "tg-tests.h"
 
Index: gcc.dg/vect/pr43430-1.c
===================================================================
--- gcc.dg/vect/pr43430-1.c	(revision 168890)
+++ gcc.dg/vect/pr43430-1.c	(working copy)
@@ -35,5 +35,5 @@  main (void)
   return foo (data_ch1, data_ch2, 1);
 }
 
-/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
+/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target vect_condition } } } */
 /* { dg-final { cleanup-tree-dump "vect" } } */
Index: gcc.dg/vect/slp-multitypes-2.c
===================================================================
--- gcc.dg/vect/slp-multitypes-2.c	(revision 168890)
+++ gcc.dg/vect/slp-multitypes-2.c	(working copy)
@@ -1,4 +1,5 @@ 
 /* { dg-require-effective-target vect_int } */
+/* { dg-do run { xfail { sparc*-*-* && ilp32 } } } PR rtl-opt/46603 */
 
 #include <stdarg.h>
 #include <stdio.h>