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: Eric Botcazou <ebotcazou at adacore dot com>, Richard Biener <richard dot guenther at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Jakub Jelinek <jakub at redhat dot com>
- Date: Tue, 30 May 2017 12:30:36 +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> <CAFiYyc0H51JVrGEL2dL7DnRdLAs2H4E2f+4z4CiZXY=gm7OnOw@mail.gmail.com> <8222700.x4IQrGbyC3@polaris>
On 05/30/2017 11:43 AM, Eric Botcazou wrote:
>> Are you sure? In my experience -O2 gets the most test coverage during
>> lifetime of a particular release.
>
> Yes, some older GCC releases have aliasing issues that are exposed at -O2 only
> because of -fstrict-aliasing and -fschedule-insns.
>
That's why we decided to enable -O2 just with GCC 4.8+.
Martin