mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-11 16:41:06 +08:00
arm - minor cleanups for CPU alias support
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. From-SVN: r265978
This commit is contained in:
parent
4c7bd36194
commit
e82cb04297
@ -1,3 +1,8 @@
|
||||
2018-11-09 Richard Earnshaw <rearnsha@arm.com>
|
||||
|
||||
* config/arm/parsecpu.awk (/alias/): Tighten invisible alias
|
||||
matching criteria. Remove unused array initializer.
|
||||
|
||||
2018-11-09 Bill Schmidt <wschmidt@linux.ibm.com>
|
||||
Jinsong Ji <jji@us.ibm.com>
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user