A couple of very minor issues with the new support for CPU
aliases.

        * config/arm/parsecpu.awk (/alias/): Tighten invisible alias
        matching criteria.  Remove unused array initializer.

Committed.
diff --git a/gcc/config/arm/parsecpu.awk b/gcc/config/arm/parsecpu.awk
index ba2dee5fdcb..87411847ec6 100644
--- a/gcc/config/arm/parsecpu.awk
+++ b/gcc/config/arm/parsecpu.awk
@@ -684,7 +684,7 @@ BEGIN {
     for (n = 2; n <= alias_count; n++) {
 	visible = "true"
 	alias = $n
-	if (alias ~ /!.*/) {
+	if (alias ~ /^!.*/) {
 	    visible = "false"
 	    gsub(/^!/, "", alias)
 	}
@@ -700,7 +700,6 @@ BEGIN {
 	}
 	cpu_all_aliases[alias] = cpu_name
     }
-    cpu_has_alias[cpu_name] = 1
     parse_ok = 1
 }
 

Reply via email to