Fix misleading aarch64 mcpu/march warning string
authorJoel Hutton <joel.hutton@arm.com>
Fri, 28 Feb 2020 14:46:26 +0000 (14:46 +0000)
committerJoel Hutton <joel.hutton@arm.com>
Fri, 28 Feb 2020 15:19:00 +0000 (15:19 +0000)
commit349297b6e69c5af74ed26a333488b1bf994dbcce
tree66de16ce9a110dc3cabea2f5070191f7c5f8cde5
parenta15350157862db3631772b4ae69a9c9e3b0fab6e
Fix misleading aarch64 mcpu/march warning string

The message for conflicting mcpu and march previously printed the
architecture of the CPU instead of the CPU name, as well as omitting the
extensions to the march string. This patch corrects both errors. This
patch fixes PR target/87612.

2020-02-27  Joel Hutton  <Joel.Hutton@arm.com>

        PR target/87612
        * config/aarch64/aarch64.c (aarch64_override_options): Fix
        misleading warning string.
gcc/ChangeLog
gcc/config/aarch64/aarch64.c