From d86bc962aef6df2bba3026bea6954e32456cc780 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 23 Apr 2019 08:39:50 -0600 Subject: [PATCH] * lib/target-supports.exp (check_effective_target_keeps_null_pointer_checks): Add cr16. From-SVN: r270513 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/lib/target-supports.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9946c868cf7..81d6f2694b8 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-04-23 Jeff Law + + * lib/target-supports.exp + (check_effective_target_keeps_null_pointer_checks): Add cr16. + 2019-04-23 Roman Zhuykov PR rtl-optimization/87979 diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 0dc1e184f55..4bb7da283f1 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -559,7 +559,7 @@ proc check_effective_target_keeps_null_pointer_checks { } { if [target_info exists keeps_null_pointer_checks] { return 1 } - if { [istarget msp430-*-*] } { + if { [istarget msp430-*-*] || [istarget cr16-*-*] } { return 1; } return 0 -- 2.30.2