From 6285e915c4f1b73ccbd166cdf4622da8c01a549b Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Tue, 20 Feb 2018 13:18:07 +0100 Subject: [PATCH] Fix missing info for -march and -mtune wrong values on aarch64 (PR driver/83193). 2018-02-20 Martin Liska PR driver/83193 * config/aarch64/aarch64.c (aarch64_print_hint_for_core_or_arch): Print possible values if we don't have a hint. From-SVN: r257844 --- gcc/ChangeLog | 6 ++++++ gcc/config/aarch64/aarch64.c | 3 +++ 2 files changed, 9 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8764bb33512..f890fecccf4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2018-02-20 Martin Liska + + PR driver/83193 + * config/aarch64/aarch64.c (aarch64_print_hint_for_core_or_arch): Print + possible values if we don't have a hint. + 2018-02-20 Martin Liska PR c/84310 diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c index 228fd1b908d..e1fb87f047f 100644 --- a/gcc/config/aarch64/aarch64.c +++ b/gcc/config/aarch64/aarch64.c @@ -10633,6 +10633,9 @@ aarch64_print_hint_for_core_or_arch (const char *str, bool arch) if (hint) inform (input_location, "valid arguments are: %s;" " did you mean %qs?", s, hint); + else + inform (input_location, "valid arguments are: %s", s); + XDELETEVEC (s); } -- 2.30.2