gcc/ChangeLog: * config/aarch64/aarch64.cc (aarch64_valid_sysreg_name_p): Add bool cast.
diff --git a/gcc/config/aarch64/aarch64.cc b/gcc/config/aarch64/aarch64.cc index 69f481ecfc848e6c5b61516c2f7b8bff5cd4f8b8..229e438115c268f876c6d77e1fcc4faa2f7d231b 100644 --- a/gcc/config/aarch64/aarch64.cc +++ b/gcc/config/aarch64/aarch64.cc @@ -30284,7 +30284,7 @@ aarch64_valid_sysreg_name_p (const char *regname) if (sysreg == NULL) return aarch64_is_implem_def_reg (regname); if (sysreg->arch_reqs) - return (aarch64_isa_flags & sysreg->arch_reqs); + return bool (aarch64_isa_flags & sysreg->arch_reqs); return true; }