Fix missing info for -march and -mtune wrong values on aarch64 (PR driver/83193).
authorMartin Liska <mliska@suse.cz>
Tue, 20 Feb 2018 12:18:07 +0000 (13:18 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Tue, 20 Feb 2018 12:18:07 +0000 (12:18 +0000)
2018-02-20  Martin Liska  <mliska@suse.cz>

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
gcc/config/aarch64/aarch64.c

index 8764bb335123ed4120960cd9e190f5bb64cf7612..f890fecccf4ced379cf33fec343d8397ed4a1a4d 100644 (file)
@@ -1,3 +1,9 @@
+2018-02-20  Martin Liska  <mliska@suse.cz>
+
+       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  <mliska@suse.cz>
 
        PR c/84310
index 228fd1b908d4826f830727c69aa3d4f064598853..e1fb87f047f9f091cb1eaf053f434f45ed422123 100644 (file)
@@ -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);
 }