pr27336.c: Skip test if the target keeps null pointer checks.
authorJozef Lawrynowicz <jozef.l@mittosystems.com>
Thu, 8 Nov 2018 16:29:01 +0000 (16:29 +0000)
committerJozef Lawrynowicz <jozefl@gcc.gnu.org>
Thu, 8 Nov 2018 16:29:01 +0000 (16:29 +0000)
2018-11-08  Jozef Lawrynowicz  <jozef.l@mittosystems.com>

* c-c++-common/pr27336.c: Skip test if the target keeps null pointer
checks.
* gcc.dg/addr_equal-1.c: Likewise.
* gcc.dg/tree-ssa/pr78154.c: Likewise.
* gcc.dg/tree-ssa/vrp111.c: Likewise.

From-SVN: r265926

gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/pr27336.c
gcc/testsuite/gcc.dg/addr_equal-1.c
gcc/testsuite/gcc.dg/tree-ssa/pr78154.c
gcc/testsuite/gcc.dg/tree-ssa/vrp111.c

index 840b3ce..77e7e64 100644 (file)
@@ -1,5 +1,13 @@
 2018-11-08  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
 
+       * c-c++-common/pr27336.c: Skip test if the target keeps null pointer
+       checks.
+       * gcc.dg/addr_equal-1.c: Likewise.
+       * gcc.dg/tree-ssa/pr78154.c: Likewise.
+       * gcc.dg/tree-ssa/vrp111.c: Likewise.
+
+2018-11-08  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
+
        * lib/gcc-dg.exp (gcc-dg-prune): Add new regexps for when the size of 
        an output section is too large for a memory region, or a memory
        region overflows.
index ce68559..4ecc232 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -fdelete-null-pointer-checks -fdump-tree-vrp1" } */
+/* { dg-skip-if "" { keeps_null_pointer_checks } } */
 
 struct B { int x; };
 extern void g3(struct B *that)  __attribute__((nonnull));
index 70fa354..18b0dc9 100644 (file)
@@ -4,6 +4,7 @@
 /* { dg-require-alias "" } */
 /* { dg-options "-O2 -fdelete-null-pointer-checks" } */
 /* { dg-skip-if "" { powerpc-ibm-aix* } } */
+/* { dg-skip-if "function pointers can be NULL" { keeps_null_pointer_checks } } */
 void abort (void);
 extern int undef_var0, undef_var1;
 extern __attribute__ ((weak)) int weak_undef_var0;
index b561503..3ba8f64 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -fdump-tree-evrp-slim -fdelete-null-pointer-checks" } */
+/* { dg-skip-if "" { keeps_null_pointer_checks } } */
 
 void f(void *d, const void *s, __SIZE_TYPE__ n)
 {
index 6314423..cae2bc7 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -fdump-tree-evrp -fdelete-null-pointer-checks" } */
+/* { dg-skip-if "" { keeps_null_pointer_checks } } */
 
 void foo (void *p) __attribute__((nonnull(1)));