On Thu, Feb 21, 2019 at 10:40:09AM -0800, H.J. Lu wrote: > > Prune joined switches with Negative and RejectNegative to allow > > -march=skylake-avx512 to override previous -march=native on command-line. > > > > gcc/ > > > > PR driver/69471 > > * opts-common.c (prune_options): Also prune joined switches > > with Negative and RejectNegative. > > * config/i386/i386.opt (march=): Add Negative(march=). > > (mtune=): Add Negative(mtune=). > > * doc/options.texi: Document Negative used together with Joined > > and RejectNegative. > > > > gcc/testsuite/ > > > > PR driver/69471 > > * gcc.dg/pr69471-1.c: New test. > > * gcc.dg/pr69471-2.c: Likewise. > > * gcc.target/i386/pr69471-3.c: Likewise. > > PING: > > https://gcc.gnu.org/ml/gcc-patches/2019-02/msg01071.html
The latest version looks good to me, so if Joseph won't object in next 48 hours, it is ok for trunk. I guess we want to ask maintainers of other backends who support -m*=native to decide what they want afterwards. Jakub