re PR testsuite/33033 (FAIL: gcc.dg/20061124-1.c: undefined reference to `__sync_add_and_fetch_2')

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

From-SVN: r168701
This commit is contained in:
Eric Botcazou 2011-01-12 10:52:25 +00:00 committed by Eric Botcazou
parent b0223c3ebe
commit d72ae3bf10
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2011-01-12 Eric Botcazou <ebotcazou@adacore.com>
PR testsuite/33033
* gcc.dg/20061124-1.c: Pass -mcpu=v9 on the SPARC.
2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com>
Fixed the Objective-C++ testsuite and updated all tests.

View File

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