* lib/target-supports.exp

(check_effective_target_keeps_null_pointer_checks): Add cr16.

From-SVN: r270513
This commit is contained in:
Jeff Law 2019-04-23 08:39:50 -06:00 committed by Jeff Law
parent 9fe3064bc6
commit d86bc962ae
2 changed files with 6 additions and 1 deletions

View 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

View 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