gcc/gcc/treelang
Rafael Avila de Espindola 47ecd38dbf typeck.c (java_signed_or_unsigned_type): Remove.
gcc/java/ChangeLog:
   * typeck.c (java_signed_or_unsigned_type): Remove.
   (java_signed_type): use get_signed_or_unsigned_type instead of
java_signed_or_unsigned_type.
   (java_unsigned_type): Ditto.
   * lang.c (LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): Remove.
   * java-tree.h (java_signed_or_unsigned_type): Remove

gcc/Changelog:
   * tree.h(get_signed_or_unsigned_type): New
   * fold-const.c (operand_equal_for_comparison_p): Use
get_signed_or_unsigned_type instead of
lang_hooks.types.signed_or_unsigned_type.
   * expr.c (store_expr): Ditto.
   * langhooks.c (get_signed_or_unsigned_type): New.
     (lhd_signed_or_unsigned_type): New
   * langhooks.h (lhd_signed_or_unsigned_type): New.
   * langhooks-def.h (LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): Define.

gcc/treelang/ChangeLog:
   * treetree.c (tree_lang_signed_or_unsigned_type): Remove.
   (LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE) Remove.

gcc/ada/ChangeLog:
    * trans.c (Attribute_to_gnu): Use get_signed_or_unsigned_type
instead of gnat_signed_or_unsigned_type.
    * utils.c (gnat_signed_or_unsigned_type): Remove.
    * misc.c (LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): Remove
    * gigi.h (gnat_signed_or_unsigned_type): Remove

gcc/forrtan/trans-types.c:
   * trans-types.c (gfc_signed_or_unsigned_type): Remove.
     (gfc_unsigned_type): Use get_signed_or_unsigned_type instead of
gfc_signed_or_unsigned_type.
     (gfc_signed_type): Ditto.
   * trans-types.h (gfc_signed_or_unsigned_type): Remove.
   * f95-lang.c (LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): Remove.

From-SVN: r123373
2007-03-30 22:09:01 +00:00
..
ChangeLog typeck.c (java_signed_or_unsigned_type): Remove. 2007-03-30 22:09:01 +00:00
Make-lang.in Make-lang.in: Add install-pdf target as copied from automake v1.10 rules. 2007-03-01 16:17:38 -08:00
README
config-lang.in configure.ac (strict1_warn): Rename to strict_warn. 2007-01-11 10:49:30 +00:00
lang-specs.h
lang.opt
lex.l
parse.y
spec.c
tree-convert.c
tree1.c
treelang.h
treelang.texi gcc/ChangeLog --------------------------------------------------------- 2007-02-26 22:00:47 -08:00
treetree.c typeck.c (java_signed_or_unsigned_type): Remove. 2007-03-30 22:09:01 +00:00
treetree.h

README

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