On 5/14/23 23:06, SenthilKumar.Selvaraj--- via Gcc-patches wrote:
Hi,

When running regression tests related to 
https://gcc.gnu.org/pipermail/gcc-patches/2023-April/616772.html,
I noticed a bunch of failures because some tests explicitly pass in
-fdelete-null-pointer-checks, even if the target is configured to keep them.

This patch skips such failing tests by adding a dg-skip-if for 
keeps_null_pointer_checks.
Ok to commit?

Regards
Senthil

gcc/testsuite/ChangeLog:

        * gcc.dg/attr-returns-nonnull.c: Skip if
        keeps_null_pointer_checks.
        * gcc.dg/init-compare-1.c: Likewise.
        * gcc.dg/ipa/pr85734.c: Likewise.
        * gcc.dg/ipa/propmalloc-1.c: Likewise.
        * gcc.dg/ipa/propmalloc-2.c: Likewise.
        * gcc.dg/ipa/propmalloc-3.c: Likewise.
        * gcc.dg/ipa/propmalloc-4.c: Likewise.
        * gcc.dg/tree-ssa/evrp11.c: Likewise.
        * gcc.dg/tree-ssa/pr83648.c: Likewise.
OK.
jeff

Reply via email to