Add "native" as a valid option value for -march= on arm (PR driver/83193).
authorMartin Liska <mliska@suse.cz>
Wed, 21 Feb 2018 14:05:17 +0000 (15:05 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 21 Feb 2018 14:05:17 +0000 (14:05 +0000)
commita646fe9c48679d9904473676705f75dae5dd59c2
tree06c7ebde19fccfce2b67450ae34350b68044c942
parentc8602fe6127fde5e75b4f9288f86d33a5b885660
Add "native" as a valid option value for -march= on arm (PR driver/83193).

2018-02-21  Martin Liska  <mliska@suse.cz>

PR driver/83193
* common/config/arm/arm-common.c (arm_print_hint_for_arch_option):
Add "native" as a possible value.
* config/arm/arm.h (HAVE_LOCAL_CPU_DETECT): Define the macro
when native cpu detection is available.

From-SVN: r257873
gcc/ChangeLog
gcc/common/config/arm/arm-common.c
gcc/config/arm/arm.h