From 022351a2355150868e7fd4d34b45f141e97594ee Mon Sep 17 00:00:00 2001 From: Yury Gribov Date: Thu, 5 Dec 2013 10:00:47 +0000 Subject: [PATCH] re PR sanitizer/59369 (c-c++-common/asan/pr59063-[1,2].c fails on darwin) 2013-12-05 Yury Gribov PR sanitizer/59369 * c-c++-common/asan/pr59063-1.c: Disable on non-Linux platforms. * c-c++-common/asan/pr59063-2.c: Likewise. From-SVN: r205699 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/c-c++-common/asan/pr59063-1.c | 2 +- gcc/testsuite/c-c++-common/asan/pr59063-2.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index fa75f4f..592f64c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2013-12-05 Yury Gribov + + PR sanitizer/59369 + * c-c++-common/asan/pr59063-1.c: Disable on non-Linux platforms. + * c-c++-common/asan/pr59063-2.c: Likewise. + 2013-12-05 Paolo Carlini * g++.dg/cpp0x/constexpr-46336.C: Adjust expected messages. diff --git a/gcc/testsuite/c-c++-common/asan/pr59063-1.c b/gcc/testsuite/c-c++-common/asan/pr59063-1.c index a4e01f7..a22db6a 100644 --- a/gcc/testsuite/c-c++-common/asan/pr59063-1.c +++ b/gcc/testsuite/c-c++-common/asan/pr59063-1.c @@ -1,4 +1,4 @@ -/* { dg-do run } */ +/* { dg-do run { target { *-*-linux* } } } */ #include static int weak_gettime (clockid_t clk_id, struct timespec *tp) diff --git a/gcc/testsuite/c-c++-common/asan/pr59063-2.c b/gcc/testsuite/c-c++-common/asan/pr59063-2.c index 64354ea..759b7f2 100644 --- a/gcc/testsuite/c-c++-common/asan/pr59063-2.c +++ b/gcc/testsuite/c-c++-common/asan/pr59063-2.c @@ -1,4 +1,4 @@ -/* { dg-do run } */ +/* { dg-do run { target { *-*-linux* } } } */ /* { dg-options "-static-libasan" } */ #include -- 2.7.4