From: Martin Liska Date: Wed, 4 Apr 2018 10:40:57 +0000 (+0200) Subject: Disable anchors and msdata for ASAN test-case (PR sanirizer/85174). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=46cbaa50ed2d81d06b1cc9c38ffcd4279f9c60ae;p=gcc.git Disable anchors and msdata for ASAN test-case (PR sanirizer/85174). 2018-04-04 Martin Liska PR sanitizer/85174 * c-c++-common/asan/pointer-compare-1.c: Disable section anchors and msdata as a workaround for powerpc. From-SVN: r259074 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5c72bd78387..3258830c7f4 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2018-04-04 Martin Liska + + PR sanitizer/85174 + * c-c++-common/asan/pointer-compare-1.c: Disable section anchors + and msdata as a workaround for powerpc. + 2018-04-04 Richard Biener PR tree-optimization/85168 diff --git a/gcc/testsuite/c-c++-common/asan/pointer-compare-1.c b/gcc/testsuite/c-c++-common/asan/pointer-compare-1.c index cf67fe98bee..1ce349e4917 100644 --- a/gcc/testsuite/c-c++-common/asan/pointer-compare-1.c +++ b/gcc/testsuite/c-c++-common/asan/pointer-compare-1.c @@ -2,6 +2,10 @@ /* { dg-set-target-env-var ASAN_OPTIONS "detect_invalid_pointer_pairs=2:halt_on_error=0" } */ /* { dg-options "-fsanitize=address,pointer-compare" } */ +/* FIXME: remove me after PR sanitizer/82501 is resolved. */ +/* { dg-additional-options "-fno-section-anchors" } */ +/* { dg-additional-options "-msdata=none" { target { powerpc*-*-* } } } */ + volatile int v; __attribute__((noipa)) void