diff mbox

Fix PR testsuite/33033

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

Commit Message

Eric Botcazou Jan. 12, 2011, 10:54 a.m. UTC
This is a long-standing glitch visible in the results on SPARC64/Linux when 
you configure --with-cpu=v8.  Fixed by using the kludge from gcc.dg/sync-2.c.

Tested on SPARC64/Solaris, applied on all active branches.


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

	PR testsuite/33033
	* gcc.dg/20061124-1.c: Pass -mcpu=v9 on the SPARC.
diff mbox

Patch

Index: gcc.dg/20061124-1.c
===================================================================
--- gcc.dg/20061124-1.c	(revision 168632)
+++ gcc.dg/20061124-1.c	(working copy)
@@ -1,5 +1,6 @@ 
 /* { dg-do run } */
 /* { dg-require-effective-target sync_char_short } */
+/* { dg-options "-mcpu=v9" { target sparc*-*-* } } */
 
 /* This testcase failed on s390 because no compare instruction for
    the check of FLAG was emitted.  */