target-supports.exp (check_effective_target_keeps_null_pointer_checks): New function.
authorAndy Hutchinson <hutchinsonandy@aim.com>
Thu, 19 Jun 2008 22:08:25 +0000 (22:08 +0000)
committerAndy Hutchinson <hutchinsonandy@gcc.gnu.org>
Thu, 19 Jun 2008 22:08:25 +0000 (22:08 +0000)
commitad0dc07d8a0be745c0366998c0164d7e0df4a1bc
treeb4bdc31d124b153e6f053a2fc9d5e628af5e296f
parent15f0f116ce6a94ac93805d9f67fcef9622296303
target-supports.exp (check_effective_target_keeps_null_pointer_checks): New function.

* lib/target-supports.exp(check_effective_target_keeps_null_pointer_checks): New function.
* gcc.dg/tree-ssa/20030730-1.c: Use keeps_null_pointer_checks to determine correct test response.
* gcc.dg/tree-ssa/20030730-2.c: Ditto.
* gcc.dg/tree-ssa/pr20701.c: Ditto.
* gcc.dg/tree-ssa/pr20702.c: Ditto.
* gcc.dg/tree-ssa/pr21086.c: Ditto.
* gcc.dg/tree-ssa/vrp02.c:: Ditto.
* gcc.dg/tree-ssa/vrp07.c:: Ditto.
* gcc.dg/tree-ssa/vrp08.c:: Ditto.

From-SVN: r136970
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/20030730-1.c
gcc/testsuite/gcc.dg/tree-ssa/20030730-2.c
gcc/testsuite/gcc.dg/tree-ssa/pr20701.c
gcc/testsuite/gcc.dg/tree-ssa/pr20702.c
gcc/testsuite/gcc.dg/tree-ssa/pr21086.c
gcc/testsuite/gcc.dg/tree-ssa/vrp02.c
gcc/testsuite/gcc.dg/tree-ssa/vrp07.c
gcc/testsuite/gcc.dg/tree-ssa/vrp08.c
gcc/testsuite/lib/target-supports.exp