OSDN Git Service

* cpppch.c (cpp_valid_state): Unconditionally initialize nl.
[pf3gnuchains/gcc-fork.git] / gcc / treelang / ChangeLog
index 6a21aed..64bb4bc 100644 (file)
@@ -1,3 +1,281 @@
+2003-03-21  Andreas Jaeger  <aj@suse.de>
+
+       * treetree.c (cpp_create_reader): Follow prototype change in
+       cpplib.h.
+
+2003-03-17  Andreas Jaeger  <aj@suse.de>
+
+       * Make-lang.in (treelang.tags): Remove duplicate entry.
+
+2003-03-15  Andreas Jaeger  <aj@suse.de>
+
+       * treetree.c (cpp_handle_option): Remove.
+
+2003-03-13  Andreas Jaeger  <aj@suse.de>
+
+       * Make-lang.in (tree1$(exeext)): Fix previous patch.
+
+2003-03-12  Andreas Jaeger  <aj@suse.de>
+
+       * Make-lang.in (tree1$(exeext)): Add c-cppbuiltin.o.
+
+2003-03-08  Neil Booth  <neil@daikokuya.co.uk>
+
+       * tree1.c (in_fname): Fix type.
+       (treelang_init): Update prototype and use of in_fname.
+       * treelang.h (in_fname): Fix type.
+       * treetree.c (tree_code_if_start, tree_code_if_else,
+       tree_code_if_end, tree_code_create_function_prototype,
+       tree_code_create_function_initial, tree_code_create_funciton_wrapup,
+       tree_code_create_variable, tree_code_output_expression_statement)
+       : Fix prototypes and use of filenames.
+       * treetree.h: Similarly.
+
+2003-03-05  Andreas Jaeger  <aj@suse.de>
+
+       * treetree.c (init_c_lex): Follow change to c-common.h.
+
+2003-03-04  Tom Tromey  <tromey@redhat.com>
+
+       * Make-lang.in (treelang.tags): New target.
+
+2003-03-01  Tim Josling  <tej@melbpc.org.au>
+
+        Name clashes with rtl.h fixed.
+
+       * lex.l: Tokens PLUS, MINUS, RETURN changed to tl_PLUS tl_MINUS
+       tl_RETURN.
+
+       * parse.y: Ditto.
+
+2003-02-24  Tim Josling  <tej@melbpc.org.au>
+
+       * parse.y (my_yylex): New - ensure lexer time is charged to
+       TV_LEX.
+       (yylex): redefine as invocation of my_yylex which then calls
+       flex-generated yylex.
+       (timevar.h): include.
+
+2003-02-23  Tim Josling  <tej@melbpc.org.au>
+
+        Fix garbage collection, add more error checking, force GC always.
+
+       * Make-lang.in (treelang/tree1.o): Depend on treelang/treetree.h
+       (treelang/treetree.o): Depend on  treelang/parse.h
+
+       * lex.l: include "treetree.h"
+
+       * lex.l (update_yylval): Allocate string using get_string so GC
+       works.
+
+       * parse.y (function_prototype): Set category correctly so GC works.
+       (function): Set category in search so checking works.
+       (function_invocation): Ditto.
+       (variable_ref): Ditto.
+
+       * tree1.c (lookup_tree_name): Call sanity_check for passed
+       production and associated token and for symbol table entries.
+
+       * tree1.c (sanity_check): New, basic check that struct is valid.
+
+       * treelang.h: Prototype for sanity_check.
+
+2003-01-27  Tim Josling  <tej@melbpc.org.au>
+
+       * treetree.c (treelang_init_decl_processing): Change memory
+       allocation to use GC.
+
+2003-02-04  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       * treelang.texi: Update to GFDL 1.2.
+
+2003-01-26  Michael Matz  <matz@suse.de>
+
+       * Make-lang.in (treelang/parse.o-warn): Define as -Wno-error.
+
+2003-01-14  Andreas Jaeger  <aj@suse.de>
+
+       * Make-lang.in (treelang.install-info): Depend only on info files
+       if BUILD_INFO is set.  Fix install rules.
+       (treelang.): New.
+
+2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
+
+       * Make-lang.in (treelang.install.common.done,
+       treelang.install-info, treelang.uninstall): Prepend
+       $(DESTDIR) to destination paths in all (un)installation
+       commands.
+
+2002-12-28  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       * treelang.texi: Use @copying.
+
+2002-12-23  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       * treelang.texi: Include gcc-common.texi.
+       * Make-lang.in ($(srcdir)/treelang/treelang.info, treelang.dvi):
+       Depend on gcc-common.texi.  Add other missing dependencies.
+       (treelang.dvi): Use texi2dvi.
+
+2002-12-22  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       * treelang.texi: Use @ifnottex instead of @ifinfo.
+
+2002-11-30  Zack Weinberg  <zack@codesourcery.com>
+
+       * lex.l: Move "%{" below copyright notice; get rid of "/*"
+       embedded in comment.  Do not #undef IN_GCC; do not include
+       stdio.h, memory.h, or ansidecl.h; do not include config.h twice.
+       Do include coretypes.h and tm.h.
+       * parse.y: Do not #undef IN_GCC, provide bogus definitions of tree
+       and rtx typedefs, or include stdio.h, stdlib.h, string.h, or
+       ansidecl.h. Do include coretypes.h and tm.h.
+       * tree1.c: Do not include ansidecl.h, stdlib.h, unistd.h, ctype.h,
+       stdarg.h, string.h, or stdio.h.  Do include coretypes.h and tm.h.
+       * treetree.c: Do not include stdlib.h, unistd.h, safe-ctype.h,
+       errno.h. stdarg.h, limits.h, string.h, fcntl.h, getopt.h. stdio.h,
+       or ansidecl.h.  Do include coretypes.h and tm.h.
+       * Make-lang.in: Update dependencies.
+
+2002-09-09  Tim Josling  <tej@melbpc.org.au>
+
+       * treetree.c (objc_is_id): New.
+
+2002-08-16  Tim Josling  <tej@melbpc.org.au>
+
+       Remove variables and functions now defined elsewhere.
+
+       * treetree.c (maybe_objc_comptypes): Remove.
+       (warn_format, warn_format_y2k, warn_format_extra_args,
+       warn_format_nonliteral, warn_format_security,
+       warn_format_zero_length): Remove.
+       (maybe_building_objc_message_expr): Remove.
+       (cpp_post_options): Remove.
+       (maybe_objc_check_decl): Remove.
+       (integer_types): Remove.
+
+
+2002-08-13  Neil Booth  <neil@daikokuya.co.uk>
+
+       * treelang.c: Remove cpp_post_options.
+
+2002-08-13  Tim Josling  <tej@melbpc.org.au>
+
+       * parse.y: Provide dummy definition of rtx for use by config.h.
+       * Make-lang.in (treetree.o): Remove dependency on non-existent
+       gt-treelang-treelang.h.
+       (gt-treelang-treelang.h): Remove.
+
+2002-08-08  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage files.
+
+2002-07-11  Tim Josling  <tej@melbpc.org.au>
+
+       Remove front end hard coding from gengtype.c.
+
+       * config-lang.in (gtfiles): Add files needed for this front
+       end.
+
+2002-07-09  Tim Josling  <tej@melbpc.org.au>
+
+       Support new attributes regime (Fix for PR c++/7099).
+
+       * treetree.c (handle_format_attribute): Return NULL_TREE instead
+       of aborting.
+       (top level): Define LANG_HOOKS_COMMON_ATTRIBUTE_TABLE
+       LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE
+       LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES as the standard C routines.
+
+2002-06-21  Andreas Jaeger  <aj@suse.de>
+
+       * Make-lang.in (treelang/tree1.o, treelang/treetree.o,
+       treelang/parse.o, treelang/lex.o): Add dependency on $(CONFIG_H).
+
+2002-06-19  Paolo Bonzini <bonzini@gnu.org>
+
+       * lex.l (yyparse) Return AUTOMATIC for 'automatic' token rather
+       than STATIC.
+
+2002-06-10  Tim Josling  <tej@melbpc.org.au>
+
+       Cleanup
+
+       * Make-lang.in (check-treelang). Add. Remove direct dependency of
+       'check' on 'treelang.check' as redundant.
+
+       PCH Garbage collection regime (gengtypes.c) phase 1.
+
+       * Make-lang.in (treelang/tree1.o). Depend on gt-treelang-tree1.h
+       gt-treelang-treelang.h gtype-treelang.h.
+       (gt-treelang-tree1.h) Depend on s-gtype.
+       (gt-treelang-treelang.h) Depend on s-gtype.
+       (gtype-treelang.h) Depend on s-gtype.
+
+       * config-lang.in (gtfiles): Define.
+
+       * lex.l (main): Remove '#if 0' dead code.
+       (main): Move undef of IN_GCC so define of tree typedef works.
+       (all): Replace token and production by prod_token_parm_item.
+
+       * parse.y
+       (all): Replace token and production by prod_token_parm_item.
+
+       * tree1.c (main): Remove include of "output.h".
+       (symbol_table): Add GTY details.
+       (symbol_table_ggc): Remove.
+       (treelang_init): Remove root definitions for garbage collection.
+       (mark_production_used): Remove.
+       (mark_token_used): Remove.
+       (main, at end): include generated garage collection routines.
+
+       * treelang.h (category_enum ): Add parameter_category.
+       (all): Replace token and production and parameters by union
+       prod_token_parm_item containing production_part, token_part,
+       parameter_part.
+       (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
+       EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
+       UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
+       EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move here from
+       treetree.h.
+
+       * treetree.c
+       (tm_p.h): Do not include.
+       (ansidecl.h): Move include after config.h.
+       (treelang.h): Include it.
+       (ADDROOT): Remove.
+       (all): Replace token, production and parameter by prod_token_parm_item.
+       (tree_parameter_list): Move to treelang.h as part of
+       prod_token_parm_item.
+       (STATIC_STORAGE AUTOMATIC_STORAGE EXTERNAL_REFERENCE_STORAGE
+       EXTERNAL_DEFINITION_STORAGE SIGNED_CHAR UNSIGNED_CHAR SIGNED_INT
+       UNSIGNED_INT VOID_TYPE EXP_PLUS EXP_REFERENCE EXP_ASSIGN
+       EXP_FUNCTION_INVOCATION EXP_MINUS EXP_EQUALS): Move from here to
+       treelang.h.
+
+2002-05-19  Tim Josling  <tej@melbpc.org.au>
+
+       * treetree.c (warn_format_zero_length): Add.
+
+2002-05-14  Tim Josling  <tej@melbpc.org.au>
+
+       * Make-lang.in: Fix build for .info files, add target for manpages.
+       A bug report and a suggested patch came from Magnus Fromreide
+       <magfr@lysator.liu.se>.
+
+2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * Make-lang.in: Allow for PWDCMD to override hardcoded pwd.
+
+2002-05-11  Tim Josling  <tej@melbpc.org.au>
+
+       * treetree.c: (cpp_define) Add.
+       (cpp_get_callbacks) Add.
+
+2002-05-07  Tim Josling  <tej@melbpc.org.au>
+
+       * treetree.c: (cpp_get_options) Add.
+
 2002-05-06  Tim Josling  <tej@melbpc.org.au>
 
        * .cvsignore: Add.
 2001-06-11  Tim Josling  <tej@melbpc.org.au>
 
        * all (all) Revamp code to conform to GCC coding standards, fix
-       typos in texi files. 
+       typos in texi files.
 
 2001-05-11  Tim Josling  <tej@melbpc.org.au>
 
-        Create the new language.
-
-       
-       
+       Create the new language.