]> git.ipfire.org Git - thirdparty/gcc.git/commit
doc: mention STAGE1_CFLAGS
authorSam James <sam@gentoo.org>
Wed, 14 Aug 2024 12:15:30 +0000 (13:15 +0100)
committerSam James <sam@gentoo.org>
Mon, 6 Oct 2025 16:02:50 +0000 (17:02 +0100)
commit955217839f5cff7b64202eb08496e16a29d7acc4
tree55e11eb7b738f72b14afabb6a34d67f9f0ebc729
parentefb3cd64fdefab88c7787b16ad33be33f4c4a2a4
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.
gcc/doc/install.texi