This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, S390] Change mtune default
- From: Andreas Krebbel <krebbel at linux dot ibm dot com>
- To: Robin Dapp <rdapp at linux dot ibm dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 5 Jun 2018 16:23:20 +0200
- Subject: Re: [PATCH, S390] Change mtune default
- References: <f082d6d5-34c3-387c-3c24-e2ad69f568d1@linux.ibm.com>
On 06/04/2018 02:26 PM, Robin Dapp wrote:
> Hi,
>
> when building with --with-tune=zEC12 and calling the resulting gcc with
> --march=z13 (no extra -mtune), the binary would unexpectedly be compiled
> with -march=z13 -mtune=zEC12. This patch avoids using the default tune
> parameter if -march is specified as argument but the user can still
> explicitly state -march=z13 -mtune=zEC12.
>
> Regards
> Robin
>
> --
>
> gcc/ChangeLog:
>
> 2018-06-04 Robin Dapp <rdapp@linux.vnet.ibm.com>
>
> * config/s390/s390.h (enum processor_flags): Do not use
> default tune parameter when -march was specified.
>
Ok. Thanks!
-Andreas-