On Thu, Dec 13, 2012 at 08:21:49PM -0500, Jack Howarth wrote:
> 2012-12-13  Jack Howarth <howa...@bromo.med.uc.edu>
> 
>       PR 55679/sanitizer

PR sanitizer/55679 instead

>       * g++.dg/asan/interception-test-1.C: Skip on darwin.

This I can live with.

> --- gcc/testsuite/c-c++-common/asan/swapcontext-test-1.c      (revision 
> 194483)
> +++ gcc/testsuite/c-c++-common/asan/swapcontext-test-1.c      (working copy)
> @@ -1,6 +1,7 @@
>  /* Check that ASan plays well with easy cases of makecontext/swapcontext. */
>  
>  /* { dg-do run { target swapcontext } } */
> +// { dg-skip-if "Ucontext support deprecated on darwin" { *-*-darwin* } }
>  
>  #include <stdio.h>
>  #include <ucontext.h>

This is wrong.  You should figure out why the effective target swapcontext
succeeded, despite the target not supporting that feature, and possibly replace
it with e.g. compile test or similar.

        Jakub

Reply via email to