[GCC front end] add new TREE CODE
charfi asma
charfiasma@yahoo.fr
Mon Feb 14 17:44:00 GMT 2011
Hello,
I am developping my own gcc front end. My source language contains concepts that
are not represented directly in C code.
to compile those elements, I think that I should add a new tree codes to my
front end as C++ does for templates...
I think that I should also implement how to translate this new tree code in
Gimple.
my question is : should I also care about how to translate those tree code al
over the compiler chain: gimple --> ssa --> unssa --> rtl --> ass ...
did you suggest to follow an example of an existing front end that adds some
tree code cause the C++ one seems to be mature and complete.
thank you very much
Asma
More information about the Gcc-help
mailing list