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: r168703
This commit is contained in:
Eric Botcazou 2011-01-12 10:53:59 +00:00 committed by Eric Botcazou
parent 392036477b
commit 762f8a80ef
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.
2010-12-27 Yao Qi <yao@codesourcery.com>
Backport from mainline:

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