On Mon, May 29, 2017 at 1:13 PM, Eric Botcazou <ebotca...@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