Fix missing info for -march and -mtune wrong values on aarch64 (PR driver/83193).

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
This commit is contained in:
Martin Liska 2018-02-20 13:18:07 +01:00 committed by Martin Liska
parent d3eb902f7f
commit 6285e915c4
2 changed files with 9 additions and 0 deletions

View 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

View 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);
}