aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-07-23 15:06:10 +0100
committerRichard Biener <rguenth@gcc.gnu.org>2024-07-25 14:20:55 +0200
commit634eae5ec3f3af2c4f6221d3ed2cf78d7f5c47f0 (patch)
treeffcf8b6a2521e9083a89948bedb234a7992bff2b /include
parent3f578dbac726d47b043b82606c47e5676c5d6a14 (diff)
downloadgcc-634eae5ec3f3af2c4f6221d3ed2cf78d7f5c47f0.zip
gcc-634eae5ec3f3af2c4f6221d3ed2cf78d7f5c47f0.tar.gz
gcc-634eae5ec3f3af2c4f6221d3ed2cf78d7f5c47f0.tar.bz2
doc: Document -O1 as the preferred level for large machine-generated code
At -O1, the intention is that we compile things in a "reasonable" amount of time (ditto memory use). In particular, we try to especially avoid optimizations which scale poorly on pathological cases, as is the case for large machine-generated code. Recommend -O1 for large machine-generated code, as has been informally done on bugs for a while now. This applies (broadly speaking) for both large machine-generated functions but also to a lesser extent repetitive small-but-still-not-tiny functions from a generator program. gcc/ChangeLog: PR middle-end/114855 * doc/invoke.texi (Optimize options): Mention machine-generated code for -O1.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions