PING^1: [PATCH] driver: Also prune joined switches with negation
H.J. Lu
hjl.tools@gmail.com
Tue Feb 12 16:16:00 GMT 2019
On Fri, Feb 8, 2019 at 3:09 PM H.J. Lu <hjl.tools@gmail.com> wrote:
>
> On Fri, Feb 8, 2019 at 3:02 PM H.J. Lu <hjl.tools@gmail.com> wrote:
> >
> > When -march=native is passed to host_detect_local_cpu to the backend,
> > it overrides all command lines after it. That means
> >
> > $ gcc -march=native -march=skylake-avx512
> >
> > is the treated as
> >
> > $ gcc -march=skylake-avx512 -march=native
> >
> > Prune joined switches with negation to allow -march=skylake-avx512 to
> > override previous -march=native on command-line.
> >
> > PR driver/69471
> > * opts-common.c (prune_options): Also prune joined switches
> > with negation.
> > * config/i386/i386.opt (march=): Add Negative(march=).
> > (mtune=): Add Negative(mtune=).
>
> Here is the updated patch.
>
PING:
https://gcc.gnu.org/ml/gcc-patches/2019-02/msg00492.html
--
H.J.
More information about the Gcc-patches
mailing list