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

Martin Liška mliska@suse.cz
Tue Feb 20 12:05:00 GMT 2018


Hi.

This is fix for one of multiple issues seen in the PR. Note that I also have some patches
for the others, but it's not stage4 material in my opinion.
This one is quite obvious and should land in GCC 8.

Output before:
$ ./xgcc -B. -march=sparta /tmp/main.c
cc1: error: unknown value ‘sparta’ for -march

And after:
$ ./xgcc -B. -march=sparta /tmp/main.c
cc1: error: unknown value ‘sparta’ for -march
cc1: note: valid arguments are: armv8-a armv8.1-a armv8.2-a armv8.3-a armv8.4-a;

Ready for trunk?

gcc/ChangeLog:

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.
---
 gcc/config/aarch64/aarch64.c | 3 +++
 1 file changed, 3 insertions(+)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-missing-info-for-march-and-mtune-wrong-values-on.patch
Type: text/x-patch
Size: 476 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20180220/a98adf72/attachment.bin>


More information about the Gcc-patches mailing list