Trivial testsuite fixes for nios2-elf.
nios2-elf defaults to -fno-delete-null-pointer-checks, which causes failures in tests that assume the option is enabled. Make the dependence explicit. 2021-04-04 Sandra Loosemore <sandra@codesourcery.com> gcc/testsuite/ * gcc.dg/ipa/propmalloc-4.c: Add -fdelete-null-pointer-checks. * gcc.dg/tree-ssa/evrp11.c: Likewise.
This commit is contained in:
parent
914728849a
commit
3cb9e3aee9
@ -1,5 +1,5 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2 -fdump-tree-local-pure-const-details" } */
|
||||
/* { dg-options "-O2 -fdump-tree-local-pure-const-details -fdelete-null-pointer-checks" } */
|
||||
|
||||
void *foo(int cond1, int cond2, int cond3)
|
||||
{
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O2 -fdump-tree-evrp" } */
|
||||
/* { dg-options "-O2 -fdump-tree-evrp -fdelete-null-pointer-checks" } */
|
||||
|
||||
extern void link_error ();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user