public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Fix PR testsuite/33033
@ 2011-01-12 11:15 Eric Botcazou
  0 siblings, 0 replies; only message in thread
From: Eric Botcazou @ 2011-01-12 11:15 UTC (permalink / raw)
  To: gcc-patches

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

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.


-- 
Eric Botcazou

[-- Attachment #2: p.diff --]
[-- Type: text/x-diff, Size: 432 bytes --]

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

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

only message in thread, other threads:[~2011-01-12 10:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-12 11:15 Fix PR testsuite/33033 Eric Botcazou

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).