* lib/target-supports.exp
authorJeff Law <law@redhat.com>
Tue, 23 Apr 2019 14:39:50 +0000 (08:39 -0600)
committerJeff Law <law@gcc.gnu.org>
Tue, 23 Apr 2019 14:39:50 +0000 (08:39 -0600)
(check_effective_target_keeps_null_pointer_checks): Add cr16.

From-SVN: r270513

gcc/testsuite/ChangeLog
gcc/testsuite/lib/target-supports.exp

index 9946c868cf7c1e6555123055f89c881174d7e65f..81d6f2694b852132a014f88685b8323ca3013186 100644 (file)
@@ -1,3 +1,8 @@
+2019-04-23  Jeff Law  <law@redhat.com>
+
+       * lib/target-supports.exp
+       (check_effective_target_keeps_null_pointer_checks): Add cr16.
+
 2019-04-23  Roman Zhuykov  <zhroma@ispras.ru>
 
        PR rtl-optimization/87979
index 0dc1e184f55028e02fe08e37dea7c3ab412c23d0..4bb7da283f13641153a2708b2e8c3d7f3751186a 100644 (file)
@@ -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