Arm: Add GCC_CPUINFO override
authorTamar Christina <tamar.christina@arm.com>
Fri, 17 Jul 2020 12:12:00 +0000 (13:12 +0100)
committerTamar Christina <tamar.christina@arm.com>
Fri, 17 Jul 2020 12:12:00 +0000 (13:12 +0100)
commit34a6c43487caf3a2a0ec9c7c79c526d116abc8b9
treed99658cc7c0434df4de404a01d7e477d422403cb
parent55f6addc0c102eab2bf19d94de3ce52f9de0ab91
Arm: Add GCC_CPUINFO override

This adds an in intentionally undocumented environment variable
GCC_CPUINFO which can be used to test -mcpu=native.

Tests using these are added later on.

gcc/ChangeLog:

* config/arm/driver-arm.c (host_detect_local_cpu): Add GCC_CPUINFO.
gcc/config/arm/driver-arm.c