Commit 3bf37b1d by Jozef Lawrynowicz Committed by Jozef Lawrynowicz

pr27336.c: Skip test if the target keeps null pointer checks.

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
parent 222cfefa
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.
......
/* { 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));
......
......@@ -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;
......
/* { 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)
{
......
/* { 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)));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment