Looking At Changes In the Newest GCC
cyberpead writes "With GCC 4 comes a new optimization framework (and new intermediate code representation), new target and language support, and a variety of new attributes and options. Get to know the major new features and their benefits in this article."
That they were able to reduce it down to just one C. Now it's just GC.
I've been using it for a year and a half now.
But most developers still do not know the important differences between 4.x and 3.x other than the superficial ones like changes in headers that need to be included(ie stuff that breaks their code). For example, few seem to be aware that GCC does profile guided optimization now with -fprofile-generate and -fprofile-use switches(not even mentioned in the article).
You missed one of the largest improvements in the four series was time travel. This article was actually published two years ago.
The Slashdot team are now frantically searching for the wormhole in their office. This is also why there are so many dupes, articles keep popping down GCC invoked wormholes.
Really, Stallman is just messing with us for modding-up comments like this one.
He was too busy getting busy with gcc 3.x when his wife wasn't in the room :)
One of the things I personally am the most excited about is the ability to do function-level optimization in 4.4. Last year, I had a project that required me to have compiled code be as fast as possible, but you could only submit one source file and no Makefiles, which would be compiled with no arguments, optimizations, etc.. With this, I could throw the optimizations straight into the code, instead of having to compile with optimizations, taking the assembly, throwing that into a wrapper C file, and hoping the code was tested on the same architecture.
Are you implying that you're using Fortran 77?
That's just... gross!
The state you are in while your HEAD is detached... - wait, what?
Seriously! From TFA:
Yeah, GCC 4 has more backends, the little slut.
Big deal about all this GCC4 stuff, let me know when GCC 4.x becomes available for MingW as an official build (or better yet, when the GCC community stops treating Windows builds of GCC as second class citizens)
There is still one major target language missing: XML. Hopefully gccxml will one day be merged into the main source tree.