Re: [PATCH v2 07/11] aarch64: Add explicit bool cast to return value

2024-07-11 Thread Richard Sandiford
Andrew Carlotti writes: > gcc/ChangeLog: > > * config/aarch64/aarch64.cc > (aarch64_valid_sysreg_name_p): Add bool cast. OK, thanks. Richard > diff --git a/gcc/config/aarch64/aarch64.cc b/gcc/config/aarch64/aarch64.cc > index > 69f481ecfc848e6c5b61516c2f7b8bff5cd4f8b8..229e438115c2

[PATCH v2 07/11] aarch64: Add explicit bool cast to return value

2024-07-11 Thread Andrew Carlotti
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/a