OSDN Git Service

* rtl.def (LABEL_REF): Remove the field for LABEL_NEXTREF.
[pf3gnuchains/gcc-fork.git] / gcc / treelang / ChangeLog
index 5168cb2..318795f 100644 (file)
@@ -1,3 +1,469 @@
+2006-02-20 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
+       * Make-lang.in (.phony): Remove TREELANG
+       (TREELANG): Remove
+
+2006-01-21  Joseph S. Myers  <joseph@codesourcery.com>
+
+       * spec.c (lang_specific_driver): Update copyright notice date.
+
+2006-01-16  Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
+
+       * spec.c (lang_specific_spec_functions): remove
+
+2005-12-28  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
+
+       * Make-lang.in (treelang.distdir): Remove.
+
+2005-12-07  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
+
+       * Make-lang.in (treelang.all.build, treelang.install-normal): Remove.
+
+2005-12-07  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
+
+       * Make-lang.in: Remove all dependencies on s-gtype.
+
+2005-12-05  Richard Guenther  <rguenther@suse.de>
+
+       * treetree.c (tree_code_if_start, tree_code_create_variable,
+       tree_code_generate_return, tree_code_get_expression,
+       tree_code_add_parameter): Use fold_convert where appropriate.
+
+2005-11-07  James A. Morrison  <phython@gcc.gnu.org>
+
+       PR treelang/24066
+       * treetree.c (LANG_HOOKS_ATTRIBUTE_TABLE): Set to
+       treelang_attribute_table.
+       (handle_attribute): New function.
+       (treelang_attribute_table): New attribute table.
+
+2005-09-23  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
+
+       * parse.y : Changed pointer declaration from "type* var" to "type *var"
+       Removed trailing space.  Wrap long lines.
+
+2005-09-23  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
+
+       * parse.y :  Fixed two compile warnings in "error" and "warning"
+       invocations.  Removed trailing periods in messages.  Decapitalized the
+       first word of each.
+
+2005-08-07  James A. Morrison  <phython@gcc.gnu.org>
+
+       * tree-convert.c (convert): Use fold_build1 instead of
+       fold (build1.
+
+2005-08-06  James A. Morrison  <phython@gcc.gnu.org>
+
+       PR treelang/23072
+       * Make-lang.in: Remove old testing cruft.
+
+2005-06-25  Kelley Cook  <kcook@gcc.gnu.org>
+
+       * all files: Update FSF address in copyright headers.
+
+2005-06-15  James A. Morrison  <phython@gcc.gnu.org>
+
+       * parse.y (function_invocation): Reverse parameter list.
+       * treetree.c (tree_code_get_expression): Don't reverse parameter list.
+
+2005-06-12  Rafael ?vila de Esp?ndola   <rafael.espindola@gmail.com>
+
+       * treetree.c (tree_code_get_expression): Call build_function_call_expr
+       to build function calls.
+
+2005-05-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * treelang/lex.l, treelang/parse.y: Don't include errors.h and
+       include toplev.h.
+       * treelang/Make-lang.in: Updates dependencies.
+
+2005-05-02  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR treelang/21345
+       * parse.y (parameters_opt): Add semicolon at the end.
+
+2005-04-29  Tom Tromey  <tromey@redhat.com>
+
+       * treetree.c (poplevel): Updated for change to build_block.
+
+2005-04-23  DJ Delorie  <dj@redhat.com>
+
+       * parse.y: Adjust warning() callers.
+
+2005-04-11  Richard Sandiford  <rsandifo@redhat.com>
+
+       * lang.opt: Refer to the GCC internals documentation instead of c.opt.
+
+2005-04-01  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR treelang/20604
+       * lang-spec.c: Simplify @treelang to what the other
+       languages do.
+
+2005-04-01  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * treelang/treelang.texi: Fix typos.
+       * treelang/treetree.c: Fix comment typos.
+
+2005-03-23  Joseph S. Myers  <joseph@codesourcery.com>
+
+       * treetree.c (LANG_HOOKS_TRUTHVALUE_CONVERSION,
+       tree_lang_truthvalue_conversion): Remove.
+       * tree-convert.c: Don't call truthvalue_conversion.
+
+2005-03-22  James A. Morrison  <phython@gcc.gnu.org>
+
+       * treetree.c (tree_code_if_start): Use fold_buildN.
+       (tree_code_create_variable): Likewise.
+       (tree_code_generate_return): Likewise.
+       (tree_code_get_expression): Likewise.
+       (tree_code_add_parameter): Likewise.
+
+2005-03-22  James A. Morrison  <phython@gcc.gnu.org>
+
+       * treelang.h (struct parameter_part): Skip WHERE_TO_PUT_VAR_TREE
+       during GC.
+
+2005-03-15  Zack Weinberg  <zack@codesourcery.com>
+
+       * Make-lang.in (TEXI_TREELANG_FILES): Add gcc-vers.texi.
+
+2005-03-06  James A. Morrison  <phython@gcc.gnu.org>
+
+       PR other/20326
+       * Make-lang.in (gtreelang, treelang/spec.o): New targets.
+       * spec.c: New file.
+
+2005-02-27  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * treelang.texi: Fix a typo.
+
+2005-02-26  James A. Morrison  <phython@gcc.gnu.org>
+
+       * parse.y (function_invocation, variable-ref, make_plus_expression):
+       Pass location to tree_code_get_expression.
+       * treetree.c (tree_code_generate_return): Set EXPR_LOCUS on retval.
+       (tree_code_get_expression): Wrap variable references in NOP_EXPRs and
+       set EXPR_LOCATION on ret1.
+       * treetree.h (tree_code_get_expression): Take the location of the
+       expression as an argument.
+
+2005-02-26  James A. Morrison  <phython@gcc.gnu.org>
+
+       * treelang.texi: Treelang does have warnings.
+       * treetree.c (tree_code_create_function_prototype): Don't set
+       TREE_USED and set TREE_PUBLIC, DECL_EXTERNAL, and TREE_STATIC
+       as few times as needed on the function declaration.
+       (tree_code_create_function_initial): Don't set TREE_USED,
+       TREE_ADDRESSABLE, but set TREE_STATIC on the function declaration.
+       (tree_code_create_variable): Don't set TREE_USED on VAR_DECL.
+       (tree_code_get_expression): Set TREE_USED for variable references
+       and function calls.
+
+2005-02-26  James A. Morrison  <phython@gcc.gnu.org>
+
+       * parse.y: Do comparisons as the type of the first expression.
+       * treetree.c (tree_code_get_integer_value): Build integer constants
+       with the proper type.
+
+2005-02-26  James A. Morrison  <phython@gcc.gnu.org>
+
+       * Make-lang.in: Remove commented out code.
+       * lang-specs.h: Always pass -dumpbase to tree1.
+
+2005-02-25  James A. Morrrison  <phython@gcc.gnu.org>
+
+       * treelang.texi: Remove extra contribution notice.
+       Split up some run-on sentences.  Document function parameters
+       as optional.  Indicate automatic variables can now be at any scope.
+       Mention literals are only signed if they are preceded by a unary
+       plus or minus.  Clarify interoperability with C.
+
+2005-02-25  James A. Morrison  <phython@gcc.gnu.org>
+
+       * treelang.texi: Fix whitespacing.
+
+2005-02-24  James A. Morrison  <phython@gcc.gnu.org>
+
+       PR other/19896
+       * treetree.c (tree_code_create_variable): Initialize DECL_EXTERNAL,
+       TREE_PUBLIC, and TREE_STATIC for var_decl to zero.  Don't call
+       rest_of_decl_compilation on static variables.
+       (pushdecl): Put DECL_EXPRs into the current BIND_EXPR for automatic
+       variables.
+
+2005-02-24  James A. Morrison  <phython@gcc.gnu.org>
+
+       PR other/19897
+       * parse.y: (function_prototype): Accept EXTERNAL_REFERENCE_STORAGE.
+       Move function parameters check from ...
+       (function): ...Here.  Update call to tree_code_create_function_initial.
+       (function_invocation): Use expressions_with_commas_opt instead of
+       expressions_with_commas.
+       (expressions_with_commas_opt): New rule.
+       * treetree.c (tree_code_create_function_prototype): Create PARM_DECLs
+       for function parameters.
+       (tree_code_create_function_initial): Remove PARMS parameter.
+       Don't create PARM_DECLs for function parameters.
+       * treetree.h (tree_code_create_function_initial): Remove PARMS
+       parameter.
+
+2005-02-23  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * parse.y: Update copyright.
+
+2005-02-13  James A. Morrison  <phython@gcc.gnu.org>
+
+       * treetree.c (tree_lang_type_for_mode): Return NULL_TREE for all non
+       scalar integer types.
+
+2005-02-09  Richard Henderson  <rth@redhat.com>
+
+       * treetree.c (treelang_init_decl_processing): Call
+       build_common_builtin_nodes.
+
+2005-02-06  Joseph S. Myers  <joseph@codesourcery.com>
+
+       * treelang.texi: Don't use local treelang version number.  Don't
+       give last update date.
+
+2005-02-01  James A. Morrison  <phython@gcc.gnu.org>
+
+       * lex.l: Undef LINEMAP_POSITION_FOR_COLUMN before defining it.
+
+2005-02-01  James A. Morrison  <phython@gcc.gnu.org>
+
+       * parse.y: Reformat comments.
+       * treetree.c: Likewise.
+       * treetree.h: Likewise.
+
+2004-10-24  James A. Morrison  <phython@gcc.gnu.org>
+
+       * treetree.c (tree_code_generate_return): Wrap param declaration in
+       ENABLE_CHECKING.
+
+2004-10-05  Zack Weinberg  <zack@codesourcery.com>
+
+       * parse.y: Add list of diagnostic messages to insulate
+       translation template from version of yacc/bison used to
+       compile the grammar.
+
+2004-10-02  James A. Morrison  <phython@gcc.gnu.org>
+
+       PR other/17762
+       * lex.l: Include input.h and errors.h
+       (lineno): New variable.
+       (LINEMAP_POSITION_FOR_COLUMN): Define as noop when USE_MAPPED_LOCATION
+       is not defined.
+       Set column position with LINEMAP_POSITION_FOR_COLUMN.
+       Use error instead of fprintf.
+       Set input_location with the value returned by linemap_start_line when
+       USE_MAPPED_LOCATION is defined.
+       (dump_lex_value): Use LOCATION_LINE.
+       * parse.y: Include errors.h.
+       Use error and warning instead of fprintf.
+       (return): Move exp to rule scope and always set to $2.  Test against
+       exp instead of $2.
+       (init): Set $$ to $2.
+       (print_token): Use LOCATION_LINE.
+       * tree1.c (treelang_init): Call treelang_init_decl_processing last.
+       Call linemap_add to set input_filename when USE_MAPPED_LOCATION is
+       defined.
+       (treelang_parse_file): Always start at line one.
+       Rename input_filename to main_input_filename when USE_MAPPED_LOCATION is
+       defined.
+       Leave main_input_filename when done parsing the input.
+       (insert_tree_name): Use error instead of fprintf.
+       * treetree.c (tree_code_get_expression): Wrap long line.
+       (tree_mark_addressable): Use %qD to print out DECLs.
+
+2004-10-02  James A. Morrison  <phython@gcc.gnu.org>
+
+       * parse.y: Use gcc_assert and gcc_unreachable instead of abort.
+       * tree1.c: Likewise.
+       * treetree.c: Likewise.
+
+2004-10-02  James A. Morrison  <phython@gcc.gnu.org>
+
+       * lex.l: Remove random whitespace.
+       * parse.y: Reformat copyright notice.  Indent declarations.
+       Wrap long lines, unwrap short lines.
+       * tree1.c: Reformat copyright notice.  Wrap long lines.
+       Remove random whitespace.
+       (lookup_tree_name): Use LOCATION_LINE.
+       * treetree.c: Reformat copyright notice.  Wrap long lines.
+       Remove random whitespace.
+
+2004-10-01  James A. Morrison  <phython@gcc.gnu.org>
+
+       * parse.y (ELSE): Set tok to $1.
+       * treelang.texi: Wrap comments in @r{}.  Indent example comments.
+       Use gcc when refering to the command line or website.  Update function
+       definition.
+
+2004-10-01  Jan Hubicka  <jh@suse.cz>
+
+       * treetree.c (treeland_expand_function): Update call of
+       tree_rest_of_compilation.
+
+2004-09-17  Jeffrey D. Oldham  <oldham@codesourcery.com>
+           Zack Weinberg  <zack@codesourcery.com>
+
+       * treetree.c: Update for new tree-class enumeration constants.
+
+2004-09-15  Zack Weinberg  <zack@codesourcery.com>
+
+       * Make-lang.in (treelang-warn): Set to $(STRICT_WARN).
+
+2004-08-26  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * treetree.c (tree_code_get_integer_value): Fix build_int_cst call.
+
+2004-08-24  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * treelang/treetree.c (treelang_init_decl_processing): Adjust
+       build_common_tree_nodes call.
+
+2004-08-14  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * treetree.c (tree_code_get_integer_value): Use build_int_cst.
+
+2004-07-31  James A. Morrison  <phython@gcc.gnu.org>
+
+       * Make-lang.in (TREE_BE_LIBS): Remove.
+       (tree1): Depend on BACKEND and LIBDEPS.  Use BACKEND and LIBS instead
+       of TREE_BE_LIBS.
+       * parse.y: Add variable_defs_opt before statements_opt.
+       Use tree_code_get_type instead of get_type_for_numeric_type.
+       Reformat long lines.
+       (parameters_opt): New rule.
+       (function_prototype): Use parameters_opt.
+       (return): Remove calls to print_token in error cases.  Use VOID_TYPE.
+       (check_type_match): Use VOID_TYPE.
+       * lex.l (update_lineno_charno): Ensure INPUT_LINE starts at 1.
+       * tree1.c: Include version.h and cgraph.h
+       (treelang_parse_file): Call cgraph_finalize_compilation_unit and
+       cgraph_optimize.
+       * treelang.h (item): Remove extraneous GTY.
+       * treetree.h (get_type_for_numeric_type): Remove.
+       * treetree.c: Include tree-dump.h, tree-iterator.h, tree-gimple.h,
+       function.h, and cgraph.h.  Don't include rtl.h
+       (keep_level_p): Remove.
+       (tree_push_atomic_type_decl): Remove.
+       (get_type_for_numeric_type): Remove.
+       (tree_code_get_numeric_type): Remove.
+       (global_bindings_p): Make static.
+       (getdecls): Likewise.
+       (insert_block): Likewise.
+       (tree_code_if_start): Create a COND_EXPR and add it to the tree
+       instead of creating rtl.
+       (tree_code_if_else): Create a BIND_EXPR if any variables were created
+       in the if statement.
+       (tree_code_end_if): Likewise.
+       (tree_code_create_function_prototype): Use tree_code_get_type.
+       Don't use SET_DECL_ASSEMBLER_NAME.
+       (tree_code_create_function_initial): Set DECL_ARTIFICIAL and
+       DECL_IGNORING_P on RESULT_DECL.  Use tree_code_get_type.  Don't call
+       layout_decl on RESULT_DECL.  Don't call rtl expand functions.
+       (tree_code_create_function_wrapup): Don't call rtl expand functions.
+       Create a BIND_EXPR for each function.  Dump original and gimplified
+       copies of the function tree.  Gimplify function.
+       (tree_code_create_variable): Use tree_code_get_type.  Don't call
+       layout_decl or expand_decl.  Fold CONVERT_EXPRs.
+       (tree_code_generate_return): Fold CONVERT_EXPRs and MODIFY_EXPRs.
+       Add RETURN_EXPR to the current statement list.  Don't call rtl expand
+       functions.
+       (tree_code_output_expression_statement): Append CODE to current
+       statement list.
+       (tree_code_get_expression): Fold expressions.  Build a pointer to
+       a FUNCTION_TYPE intead of the called functions return type.
+       (struct binding_level): Add statement list STMTS.
+       (getstmtlist): New Function.
+       (pushlevel): Make static.  Allocate an empty statement list.
+       (poplevel): Make static.  Don't clear BLOCK_NODE's BLOCK_VARS.
+       Don't use DECL_ASSEMBLER_NAME.
+       (tree_push_type_decl): Set TYPE_NAME of TYPE_NODE to ID.
+       (treelang_init_decl_processing): Define basic types after unused types.
+       Don't call tree_push_atomic_type_decl.
+       (builtin_function): Don't call make_decl_rtl.
+       (treelang_expand_function). New Function.
+
+2004-07-11  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       * treetree.c (set_block): Remove.
+       (struct binding_level): Remove block_created_by_back_end.
+       (clear_binding_level): Likewise.
+       (tree_code_create_function_initial,
+       tree_code_create_function_wrapup): Call pushlevel and poplevel
+       directly rather than through hooks.
+       (poplevel): Don't handle block_created_by_back_end.
+
+2004-04-07  Richard Henderson  <rth@redhat.com>
+
+       * treetree.c (tree_mark_addressable):  Don't put_var_into_stack.
+
+2004-03-31  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * treetree.c (tree_lang_signed_or_unsigned_type): Use TYPE_UNSIGNED,
+       not TREE_UNSIGNED.
+
+2004-03-21  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       * treelang.texi: Update link to "G++ and GCC".
+
+2004-02-20  Richard Henderson  <rth@redhat.com>
+
+       * Make-lang.in (treelang-warn): Add -Wno-variadic-macros.
+
+2004-01-30  Kelley Cook  <kcook@gcc.gnu.org>
+
+       * Make-lang.in (doc/treelang.dvi): Use $(abs_docdir).
+
+2004-01-20  Kelley Cook  <kcook@gcc.gnu.org>
+
+       * Make-lang.in: Replace $(docdir) with doc.
+       (treelang.info, treelang.srcinfo): New rules.
+       (treelang.man, treelang.man): Dummy entries.
+
+2004-01-15  Kelley Cook  <kcook@gcc.gnu.org>
+
+       * Make-lang.in (TREE_GENERATED): Delete reference to $(parsedir).
+       (treelang/parse.o, treelang/lex.o): Look for sources in build
+       directory.  Use implicit rule.
+       (treelang/parse.c, treelang/parse.h treelang/lex.c): Always build in
+       doc directory.
+       (treelang.srcextra): Copy above back to source directory if requested.
+
+2004-01-07  Zack Weinberg  <zack@codesourcery.com>
+
+       * parse.y (yyerror): Mark the definition static.
+
+2003-12-04  James A. Morrison  <ja2morri@uwaterloo.ca>
+
+       * lex.l: Add \t as a whitespace character.
+       * treelang.texi (Lexical Syntax): Document a tab as whitespace.
+
+       * treelang.texi (What is GNU Treelang?): Fix a typo.
+       (Lexical Syntax): Create an itemize list of keywords.  Add commas to
+       paragraph defining names.
+
+2003-11-26  Jason Merrill  <jason@redhat.com>
+
+       * Make-lang.in (treelang.tags): Create TAGS.sub files in each
+       directory and TAGS files that include them for each front end.
+
+2003-11-21  Kelley Cook  <kcook@gcc.gnu.org>
+
+       * .cvsignore: Delete.
+
+2003-11-20  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       * Make-lang.in (treelang.extraclean): Delete.
+
+2003-11-20  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       * Make-lang.in: Remove obsolete comment.
+
 2003-11-03  Kelley Cook  <kcook@gcc.gnu.org>
 
        * Make-lang.in (dvi): Move targets to $(docobjdir).