This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC] [PATCH] Introduce configure flag --with-stage1-cflags.
- From: Martin Liška <mliska at suse dot cz>
- To: Richard Biener <richard dot guenther at gmail dot com>, Jeff Law <law at redhat dot com>
- Cc: Jakub Jelinek <jakub at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 30 Aug 2017 12:45:37 +0200
- Subject: Re: [RFC] [PATCH] Introduce configure flag --with-stage1-cflags.
- Authentication-results: sourceware.org; auth=none
- References: <41109217-1bf5-b112-e783-8040196fd410@suse.cz> <CAFiYyc0mXd8Wugs4cHUGaDRXnWdshV4NCURA4R+=3Nm=PtpFsw@mail.gmail.com> <20170526115155.GL8499@tucnak> <CAFiYyc0q8fKcSZ2FwKuXW7V_niNzN4kBUYouwwYUrkWkohx5Qg@mail.gmail.com> <b3c3fe8c-b8c6-ea19-df59-f2613dbf92e6@suse.cz> <f2a4a836-fad3-c3ec-02f9-03c71107fa9d@suse.cz> <CAFiYyc1fxbwDdUnGaz2mRyz+meRBUqSXp=-a9i=sk7k-gYXn-g@mail.gmail.com> <bdf9f849-f903-3a61-b569-b83de94a1204@suse.cz> <b8c778a1-4eb7-649e-633f-e91296a1d5e1@redhat.com> <CAFiYyc3_y+Eesa5mT8vxCoON=_a8+11UO_tQ2sGuvxCoogT+JA@mail.gmail.com>
On 08/28/2017 02:24 PM, Richard Biener wrote:
> On Fri, Aug 25, 2017 at 9:51 PM, Jeff Law <law@redhat.com> wrote:
>> On 07/31/2017 01:47 AM, Martin Liška wrote:
>>> I would like to ping this. Input from other people will be appreciated ;)
>> I think the thing to keep in mind here is that IIUC this only affects
>> things when we've configured using the --with-stage1-cflags option.
>>
>> So questions about is -O1 more stable than -O2, should we restrict -O2
>> to newer compilers, etc are really more about the defaults we set.
>>
>> My understanding is the patch is just adding the capability and does not
>> change the default. Assuming that's the case, then I'm comfortable
>> acking the raw infrastructure.
>
> OTOH you can simply set STAGE1_CFLAGS so the value of this
> as a configure option is somewhat questionable.
Yes, STAGE1_CFLAGS is a working solution. I'm not planning to install the patch.
Martin
>
>> jeff