This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]