[Bug driver/83193] Help for invalid -march= options from cc1 omits -march=native on x86-64, arm. aarch64, output also inconsistent
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 21 14:07:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83193
--- Comment #11 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Wed Feb 21 14:05:45 2018
New Revision: 257874
URL: https://gcc.gnu.org/viewcvs?rev=257874&root=gcc&view=rev
Log:
Add "native" as a valid option value for -march= on aarch64 (PR driver/83193).
2018-02-21 Martin Liska <mliska@suse.cz>
PR driver/83193
* config/aarch64/aarch64.c (aarch64_print_hint_for_core_or_arch):
Add "native" as a possible value.
* config/aarch64/aarch64.h (HAVE_LOCAL_CPU_DETECT): Define
the macro when native cpu detection is available.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/aarch64/aarch64.c
trunk/gcc/config/aarch64/aarch64.h
More information about the Gcc-bugs
mailing list