From: Eric Botcazou Date: Wed, 12 Jan 2011 10:53:59 +0000 (+0000) Subject: re PR testsuite/33033 (FAIL: gcc.dg/20061124-1.c: undefined reference to `__sync_add_... X-Git-Tag: releases/gcc-4.4.6~177 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=762f8a80ef8a6730f9d97b5ce4b903a69f8da5e1;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: r168703 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ac28263ddcfc..7f48e1160023 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. + 2010-12-27 Yao Qi 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. */