I'm using -march=native -O3 -fomit-frame-pointer in my makepkg.conf on Arch Linux and I've had no problems in recent year. True I don't recompile everything (perhaps unlike many Gentoo users) but mostly packages that actually benefit from speed optimization. This includes compression, video codecs, emulators... Also I often use other flags like PGO (-fprofile-generate, -fprofile-use), -ffast-math on stuff I recompile and it's been rock solid. Also I'm going to try out the new link time optimizations in the current gcc 4.5 snapshots soon, although they are likely to break certain things since they are still in development.
Are there any specific packages or threads that you can point to that fails to build correctly with -O3 using gcc 4.x?
There was this for -ftracer
When?Heck, Windows already died twice, too.
Clang can't even compile Linux kernel, GCC supports far more architectures, it's solid, mature and it's noticeably faster in some things, so right now, it doesn't seem GCC will die before Clang.Clang could replace GCC, and it can only be an improvement (because if it isn't, it won't ever replace GCC in the first place).
Btw. GCC devs can always take LLVM code :> If it will be hard to adapt, why not to do llvm flag which will instruct GCC to use LLVM (to use it in situations where it makes faster code) instead: gcc -llvm [...] GCC will have all benefits then ;P just joking...
Last edited by kraftman; 10-28-2009 at 04:02 AM.