From: Jeff Law Date: Tue, 23 Apr 2019 14:39:50 +0000 (-0600) Subject: * lib/target-supports.exp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d86bc962aef6df2bba3026bea6954e32456cc780;p=gcc.git * lib/target-supports.exp (check_effective_target_keeps_null_pointer_checks): Add cr16. From-SVN: r270513 --- 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