https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111619
--- Comment #16 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Sam James <[email protected]>: https://gcc.gnu.org/g:955217839f5cff7b64202eb08496e16a29d7acc4 commit r16-4252-g955217839f5cff7b64202eb08496e16a29d7acc4 Author: Sam James <[email protected]> Date: Wed Aug 14 13:15:30 2024 +0100 doc: mention STAGE1_CFLAGS STAGE1_CFLAGS can be used to accelerate the just-built stage1 compiler which especially improves its performance on some of the large generated files during bootstrap. It defaults to nothing (i.e. -O0). The downside is that if the native compiler is buggy, there's a greater risk of a failed bootstrap. Those with a modern native compiler, ideally a recent version of GCC, should be able to use -O1 or -O2 without issue to get a faster build. PR rtl-optimization/111619 * doc/install.texi (Building a native compiler): Discuss STAGE1_CFLAGS.
