diff options
-rw-r--r-- | gcc/testsuite/gcc.dg/attr-returns-nonnull.c | 3 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/init-compare-1.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/ipa/pr85734.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/ipa/propmalloc-1.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/ipa/propmalloc-2.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/ipa/propmalloc-3.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/ipa/propmalloc-4.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/tree-ssa/evrp11.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/tree-ssa/pr83648.c | 1 |
9 files changed, 10 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/attr-returns-nonnull.c b/gcc/testsuite/gcc.dg/attr-returns-nonnull.c index e4e20b889ac..d7f39be221e 100644 --- a/gcc/testsuite/gcc.dg/attr-returns-nonnull.c +++ b/gcc/testsuite/gcc.dg/attr-returns-nonnull.c @@ -1,7 +1,8 @@ /* Verify that attribute returns_nonnull on global and local function declarations is merged. { dg-do compile } - { dg-options "-Wall -fdump-tree-optimized -fdelete-null-pointer-checks" } */ + { dg-options "-Wall -fdump-tree-optimized -fdelete-null-pointer-checks" } + { dg-skip-if "" keeps_null_pointer_checks } */ void foo (void); diff --git a/gcc/testsuite/gcc.dg/init-compare-1.c b/gcc/testsuite/gcc.dg/init-compare-1.c index 6737c85a840..a473f598ccc 100644 --- a/gcc/testsuite/gcc.dg/init-compare-1.c +++ b/gcc/testsuite/gcc.dg/init-compare-1.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-additional-options "-fdelete-null-pointer-checks" } */ +/* { dg-skip-if "" keeps_null_pointer_checks } */ extern int a, b; int c = &a == &a; diff --git a/gcc/testsuite/gcc.dg/ipa/pr85734.c b/gcc/testsuite/gcc.dg/ipa/pr85734.c index cbd524b1e8d..b3f5c8169d0 100644 --- a/gcc/testsuite/gcc.dg/ipa/pr85734.c +++ b/gcc/testsuite/gcc.dg/ipa/pr85734.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O2 -Wsuggest-attribute=malloc -fdelete-null-pointer-checks" } */ +/* { dg-skip-if "" keeps_null_pointer_checks } */ __attribute__((noinline)) static void *f1(__SIZE_TYPE__ sz) /* { dg-bogus "function might be candidate for attribute 'malloc'" } */ diff --git a/gcc/testsuite/gcc.dg/ipa/propmalloc-1.c b/gcc/testsuite/gcc.dg/ipa/propmalloc-1.c index d7c13af400d..f5e867663c9 100644 --- a/gcc/testsuite/gcc.dg/ipa/propmalloc-1.c +++ b/gcc/testsuite/gcc.dg/ipa/propmalloc-1.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O2 -fdump-ipa-pure-const-details -fdelete-null-pointer-checks" } */ +/* { dg-skip-if "" keeps_null_pointer_checks } */ __attribute__((noinline, no_icf, used)) static void *f(__SIZE_TYPE__ n) diff --git a/gcc/testsuite/gcc.dg/ipa/propmalloc-2.c b/gcc/testsuite/gcc.dg/ipa/propmalloc-2.c index 2332d9a4b44..e26af4149ff 100644 --- a/gcc/testsuite/gcc.dg/ipa/propmalloc-2.c +++ b/gcc/testsuite/gcc.dg/ipa/propmalloc-2.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O2 -fdump-ipa-pure-const-details -fdelete-null-pointer-checks" } */ +/* { dg-skip-if "" keeps_null_pointer_checks } */ __attribute__((noinline, used, no_icf)) static void *foo (__SIZE_TYPE__ n) diff --git a/gcc/testsuite/gcc.dg/ipa/propmalloc-3.c b/gcc/testsuite/gcc.dg/ipa/propmalloc-3.c index 5386695dcb0..3329a999987 100644 --- a/gcc/testsuite/gcc.dg/ipa/propmalloc-3.c +++ b/gcc/testsuite/gcc.dg/ipa/propmalloc-3.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O2 -fdump-ipa-pure-const-details -fdelete-null-pointer-checks" } */ +/* { dg-skip-if "" keeps_null_pointer_checks } */ static void *foo(__SIZE_TYPE__, int) __attribute__((noinline, no_icf, used)); diff --git a/gcc/testsuite/gcc.dg/ipa/propmalloc-4.c b/gcc/testsuite/gcc.dg/ipa/propmalloc-4.c index 9552b736c30..23566e69c95 100644 --- a/gcc/testsuite/gcc.dg/ipa/propmalloc-4.c +++ b/gcc/testsuite/gcc.dg/ipa/propmalloc-4.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-local-pure-const-details -fdelete-null-pointer-checks" } */ +/* { dg-skip-if "" keeps_null_pointer_checks } */ void *foo(int cond1, int cond2, int cond3) { diff --git a/gcc/testsuite/gcc.dg/tree-ssa/evrp11.c b/gcc/testsuite/gcc.dg/tree-ssa/evrp11.c index d791305d426..018adedf70e 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/evrp11.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/evrp11.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-evrp -fdelete-null-pointer-checks" } */ +/* { dg-skip-if "" keeps_null_pointer_checks } */ extern void link_error (); diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr83648.c b/gcc/testsuite/gcc.dg/tree-ssa/pr83648.c index 954eb2f0f4f..d3dd12da46c 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/pr83648.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/pr83648.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-local-pure-const-details -fdelete-null-pointer-checks" } */ +/* { dg-skip-if "" keeps_null_pointer_checks } */ void *g(unsigned n) { |