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: Richard Biener <richard dot guenther at gmail dot com>
- To: Eric Botcazou <ebotcazou at adacore dot com>
- Cc: Martin Liška <mliska at suse dot cz>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Jakub Jelinek <jakub at redhat dot com>
- Date: Tue, 30 May 2017 08:59:40 +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> <6237251.LWo8Wt74zX@polaris>
On Mon, May 29, 2017 at 1:13 PM, Eric Botcazou <ebotcazou@adacore.com> wrote:
>> After a discussion with Richi, using adding "-O2" to STAGE1 cflags with a
>> recent enough compiler can significantly speed up bootstrap. Thus I'm
>> suggesting to introduce --with-stage1-cflags where one can provide such
>> options.
>
> -O1 is sufficient in my experience and far less risky than -O2 in this case.
Are you sure? In my experience -O2 gets the most test coverage during lifetime
of a particular release.
Richard.
> --
> Eric Botcazou