GCC Gets Its Own News Site 41
Marcel Cox writes "In an effort to promote the development of GCC, Mathieu Lacage created a GCC news page similar to the idea of Kernel Traffic.
While we are on the topic of GCC, it might be worthwhile recalling two major events that occured during the last month:
1. The tree-ssa
branch has been merged into
mainline, which among others means the end of G77 and the addition of GFORTRAN, the new GNU Fortran 95 compiler.
2. The second annual GCC Developer's summit took place some 10 days ago in Ottawa."
Re:Serious question (Score:5, Informative)
Before any technical arguments, realise that a key difference between gcc and vc.net is that the former is copyleft and the latter is not. gcc runs on a large number of operating systems, and compiles a number of different languages (eg ada, fortran, c, objective c, c++).
As regards standards compliance, vc.net is not a c99 compiler; using c99 constructs which are not c++-ish will just fail under vc.net. vc.net is not an ada, fortran or objective-c compiler either.
Regarding news, the long sought-after fortran 95 compiler replacing the fortran 77 compiler is certainly newsworthy. In addition, a major architectural change -- the integreation of the tree-ssa branch -- heralds significant future optimization possibilities and is the culmination of two years (or more?) work. It's hard to think what would be more relevant to report.
Why would people care about gcc reports? Given that it is the standard compiler on a number of very popular operating systems, and that the quality of gcc is fundamental to the quality of compiled software on these platforms, and that similarly limitations of gcc in turn limit software on these platforms, it is obvious that gcc is a very important project. People couldn't turn to vc.net (or icc, or
Summary: gcc news is relevant to almost all free operating system developers and (indirectly) users, and this news is definitely gcc news.
Re:Serious question (Score:1, Interesting)
As for other language support, VC.Net is at its heart very similar in construction to gcc. The frontend engine parses the source code, a second engine optimizes the code, and the final code generation turns the optimize
Re:Serious question (Score:3, Interesting)
Re:Serious question (Score:3, Insightful)
Re:Serious question (Score:3, Interesting)
It's mostly just colouring in pretty graphs. *grin*.
Re:Serious question (Score:3, Interesting)
> much smaller than that for kernel traffic
I think that's mostly true... but I also think that there are plenty of folks interested in compiler-ish development notes.
For example, I work on the open source utility PMD [sf.net], which does static analysis of Java code. So there are all sorts of things it can check for - dead code, algebraic simplifications, unused assignments, and so on. It's almost like working on the front end of a compiler - i.e., parsing, tokenizing, symbo
Re:Serious question (Score:2)
the long sought-after fortran 95 compiler replacing the fortran 77 compiler is certainly newsworthy.
Indeed, it is.
While much of the scientific community has moved to develop code in C and C++, there was substantial momentum and a great deal of previosuly-developed code in FORTRAN 77.
Though I took the C and C++ path and am grateful for the freely-available gcc, colleagues have written code in FORTRAN 90 that sorely needs a working free compiler.
Re:Serious question (Score:4, Interesting)
So I guess if anything ought to be posted on the new gcc news site, it ought to be how gcc is catching up to commerical alternatives (which, though not Free, are free for download).
The last time I checked, the free version of VC had optimization disabled. Has this situation changed?
Re:Serious question (Score:2)
They have it for download [slashdot.org], but I use a Mac so it is GCC for me (well, maybe IBM - later).
Re:Serious question (Score:4, Informative)
This changed quite recently and Microsoft has now made the non crippled version of VC available for free download (command line online, not full IDE).
Re:Serious question (Score:1)
for (int i=0;isomenumber;i++)
was illegal?
Declaring a variable in a for loop is allowed in the 99 standard but not in the 89 standard. By default GCC works in C89 mode. To compile your code, you need to use the option -std=c99
a simple question... (Score:1, Interesting)
I could poke around, but I'm too lazy.
Is the Fortran 95 compiler in any of the stable gcc releases (e.g., 3.4)? If not, when will it appear as a standard part of the suite?
Re:a simple question... (Score:3, Informative)
The new version is tentatively scheduled for the end of the year. If you want to test it right now, you can always try the weekly development snapshots.
Re:a simple question... (Score:2)
The new version is tentatively scheduled for the end of the year.
I doubt it. Gcc has quite consistently had a one year release cycle for the past few years, with releases occuring in February -> May.
Given that this one is a bigger release, with the tree-ssa changes (and as you say, it might even be called 4.0), I wouldn't be surprised if the schedule slips somewhat.
I think it would be incredible it there is a release this year.
Re:a simple question... (Score:1)
The future of GCC (LLVM?) (Score:4, Interesting)
I think that version 3.4 for C++ was a very important release. It's great that there are now a series of compilers for Windows and Linux that are highly standards compliant and reasonably compatible with each other. I am referring to GCC and VC71 on Windows, and GCC and Intel on Linux.
The decision of the GCC people to focus on correctness and standards compliance before optimization was correct in my opinion.
On the other hand, I'm concerned that the most exciting ideas from last years GCC conference do not appear to be on the GCC roadmap, and are not mentioned in the proceedings of this years conference (pls correct me if I'm wrong).
http://people.redhat.com/lockhart/.gcc04
The ideas I'm referring to are LLVM and the compile server. I know that development on LLVM is progressing well, but I haven't heard anymore about it becoming part of GCC. The 'compile server' idea involved starting a single process that managed the compilation of all the translation units in a module, rather than running GCC once for each TU.
I realize these are big changes - are they on the horizon for 4.0?
Re:The future of GCC (LLVM?) (Score:2, Interesting)
http://gcc.gnu.org/ml/gcc/2003-11/msg00402.html [gnu.org]
Re:The future of GCC (LLVM?) (Score:2)
So fork gcc, or contribute patches to them that does what one wants.
See also http://llvm.cs.uiuc.edu/
Re:The future of GCC (LLVM?) (Score:1)
A far more productive approach on the long run would be to try to make the FSF realize how much their policy is currently blocking GCC development and relax their rules.
Re:The future of GCC (LLVM?) (Score:3, Informative)
"GCC can dump its internal representation in a C-like syntax using the
new -fdump-tree-... switches."
Re:The future of GCC (LLVM?) (Score:2, Interesting)
Re:The future of GCC (LLVM?) (Score:3, Informative)
You can easily fork GCC, but the problem is maintaining it after the fork, especially if you want to include changes of the mainline GCC after your fork.
The egcs project who did just that was very successful.
Re:The future of GCC (LLVM?) (Score:2, Interesting)
Yes, but it was the major developers that did the fork, not just someone who came along. Also, the fork was not to bypass political rules, but rather to make major changes to the compiler that people thought were to invasive for the production version of GCC.
Of course, the LLVM project mentioned here is more in the direction you suggest. The initial compiler is GCC based, but the way LLVM works would not be permitted in GCC according to the current
it's own news site...? (Score:1)
I apologize if this is a stupid question, but... (Score:2)
...what are SSA trees? A little googling reveals they are:
I'm not a compiler writer (duh), I'm just curious.
Re:I apologize if this is a stupid question, but.. (Score:1)
Re:I apologize if this is a stupid question, but.. (Score:5, Informative)
SSA stands for Static Single Assignment.
Partly the work is about unifying parse-tree data structures throughout the compiler. "There is no single tree representation in GCC."
Tree SSA article at LWN (Score:2)
Take a look at this [lwn.net] article at Linux Weekly News
-jim
Re:Tree SSA article at LWN (Score:2)
Thanks! That is exactly the level of detail I've been looking for.
2004-06-21 Update (Newsletter #3) (Score:1)