761e8f140b
our last 4.1 branch import, plus a few other changes: c/27718 26242 c++/27451 c/26818 tree-optimization/26622 target/27758 middle-end/27743 middle-end/27620 tree-optimization/27549 tree-optimization/27283 target/26600 c++/26757 driver/26885 tree-optimization/27603 rtl-optimization/14261 rtl-optimization/22563 middle-end/26729 rtl-optimization/27335 target/27421 middle-end/27384 middle-end/27488 target/27158 bootstrap/26872 target/26545 tree-optimization/27136 tree-optimization/27409 middle-end/27260 tree-optimization/27151 target/26481 target/26765 target/26481 tree-optimization/27285 optimization/25985 tree-optimization/27364 c/25309 target/27387 target/27374 middle-end/26565 target/26826 tree-optimization/27236 middle-end/26869 tree-optimization/27218 rtl-optimization/26685 tree-optimization/26865 target/26961 target/21283 c/26774 c/25875 mudflap/26789 |
||
---|---|---|
.. | ||
ChangeLog | ||
config-lang.in | ||
lang-specs.h | ||
lang.opt | ||
lex.l | ||
Make-lang.in | ||
parse.y | ||
README | ||
spec.c | ||
tree1.c | ||
tree-convert.c | ||
treelang.h | ||
treelang.texi | ||
treetree.c | ||
treetree.h |
This is a sample language front end for GCC. This is a replacement for 'toy' which had potential copyright issues, but more importantly it did not exercise very much of GCC. The intent of this language is that it should provide a cookbook of language elements that you can use in any language front end. To this end, treelang is essentially an implementation of a subset of the GCC back end 'tree' interface in syntax. Thanks to Richard Kenner, Joachim Nadler and many others for helping me to understand enough of GCC to do this. Please note, the documentation is not a good model to use for GCC front end documentation. Tim Josling 19 June 2002