This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Where the languages meet...
- From: "Paulo J. Matos" <pocm at soton dot ac dot uk>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 18 Jan 2007 12:12:14 +0000
- Subject: Where the languages meet...
Hello all,
After reading the internals of gcc wikibooks some questions come up.
So, gcc has front end for C, C++, java, fortran, etc..
All these languages have a frontend which parse into AST and then
GIMPLE which is converted to RTX and then assembly. Now, my guess is
that GIMPLE is the _common_ ground for all languages. No matter which
language, all will go through GIMPLE, so if I wished to implement some
language analysis / optimizations, I should do it in GIMPLE to be able
to implement in one go the optimization for all languages, right?
Is there any formal syntax/semantics for GIMPLE? Or the SIMPLE paper
is the only thing with this stuff? Any reference to the differences
between GIMPLE and SIMPLE?
Regards,
--
Paulo Jorge Matos - pocm at soton.ac.uk
http://www.personal.soton.ac.uk/pocm
PhD Student @ ECS
University of Southampton, UK