This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Optimizer suggestions for 4.x
- From: "Sam Lauber" <sam124 at operamail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Sun, 31 Oct 2004 21:49:37 +0100
- Subject: Optimizer suggestions for 4.x
According to the Info manuals for GCC (at least 3.3.3), the -fssa option is buggy and not ready for production use. I think a progressive optimizing solution would not only make ssa less buggy, but if it was applied to the rest of cc1, it could up the amount of optimization. I also think optimizatons should run in parrell so that for example, when -O1 is specified, it will run two -O1/2s (multithreading?). This would make optimization faster, especially considering almost all programs nowadays are compiled with something like "gcc -g -O2" or even -O3. Also, I think an -foptimize-loops option should be added to convert loops that are appropriate to for loops. I think also that specifying -Oanything should remove GOTOs since they are messy and slow programming pratcice and can send the PC bouncing like a Ping-Pong ball.
Samuel Lauber
--
_____________________________________________________________
Web-based SMS services available at http://www.operamail.com.
From your mailbox to local or overseas cell phones.
Powered by Outblaze