https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85658
--- Comment #1 from Sergei Trofimovich <slyfox at inbox dot ru> --- Looks like the bug is in operator precedence in awk between '!' and 'in'. This makes above tests to recover: diff --git a/gcc/config/arm/parsecpu.awk b/gcc/config/arm/parsecpu.awk index 56c762b3b..1135f735b 100644 --- a/gcc/config/arm/parsecpu.awk +++ b/gcc/config/arm/parsecpu.awk @@ -485,7 +485,7 @@ function check_fpu (name) { function check_arch (name) { exts = split (name, extensions, "+") - if (! extensions[1] in arch_isa) { + if (! (extensions[1] in arch_isa)) { return "error" }