From: Eric Botcazou Date: Wed, 12 Jan 2011 10:53:21 +0000 (+0000) Subject: re PR testsuite/33033 (FAIL: gcc.dg/20061124-1.c: undefined reference to `__sync_add_... X-Git-Tag: releases/gcc-4.5.3~317 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a0ff180023421efd1a5b2662c244d1fa5f61457;p=thirdparty%2Fgcc.git 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: r168702 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 21e8ee4709c9..a17ebc8bf732 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2011-01-12 Eric Botcazou + + PR testsuite/33033 + * gcc.dg/20061124-1.c: Pass -mcpu=v9 on the SPARC. + 2011-02-01 Thomas Koenig Backport from mainline diff --git a/gcc/testsuite/gcc.dg/20061124-1.c b/gcc/testsuite/gcc.dg/20061124-1.c index dab57ef4806a..26c35f75a003 100644 --- a/gcc/testsuite/gcc.dg/20061124-1.c +++ b/gcc/testsuite/gcc.dg/20061124-1.c @@ -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. */