Translations:GCC optimization/60/en
From Gentoo Wiki
No, people only think they do because someone has convinced them that more flags are better. Aggressive flags will only hurt applications when used system-wide. Even the GCC manual says that using -funroll-loops
and -funroll-all-loops
will make code larger and may run more slowly. Yet for some reason, these two flags, along with -ffast-math
, -fforce-mem
, -fforce-addr
, and similar flags, continue to be very popular among ricers who want the biggest bragging rights. Supposing that these flags are advantageous for a single application, generalizing this to the whole system is unwise.