diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2011-01-12 10:52:25 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2011-01-12 10:52:25 +0000 |
commit | d72ae3bf1063575af1853c40ec75eee4818b8c3c (patch) | |
tree | 4e8c5d571cd4ffaaf2d01d9efd7b03ec1367d143 | |
parent | b0223c3ebec9f302169221f382f49826f6c7a5b6 (diff) | |
download | gcc-d72ae3bf1063575af1853c40ec75eee4818b8c3c.zip gcc-d72ae3bf1063575af1853c40ec75eee4818b8c3c.tar.gz gcc-d72ae3bf1063575af1853c40ec75eee4818b8c3c.tar.bz2 |
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
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/20061124-1.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 3450fdf..a414212 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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. diff --git a/gcc/testsuite/gcc.dg/20061124-1.c b/gcc/testsuite/gcc.dg/20061124-1.c index dab57ef..26c35f7 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. */ |