OSDN Git Service

2004-09-17 Jones Desougi <jones@ingate.com>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 8648e7c..072ab77 100644 (file)
@@ -1,3 +1,201 @@
+2004-09-17  Jones Desougi  <jones@ingate.com>
+
+       * configure.ac: Replace AC_COMPILE_CHECK_SIZEOF with AC_CHECK_SIZEOF.
+       * configure, config.in: Regenerate.
+
+2004-09-17  Zack Weinberg  <zack@codesourcery.com>
+
+       * tree.c, tree.h (tree_class_strings): Make array const.
+       Reindent per coding convention.  Move asterisk to proper place
+       per coding convention.
+
+2004-09-18  Andreas Schwab  <schwab@suse.de>
+
+       * Makefile.in (gimple-low.o): Depend on $(EXPR_H).
+       (tree-vectorizer.o): Likewise.
+       (targhooks.o): Likewise.
+
+2004-09-17  Jeffrey D. Oldham  <oldham@codesourcery.com>
+           Zack Weinberg  <zack@codesourcery.com>
+
+       * alias.c (find_base_decl): Remove unreachable case '3' block.
+       * expr.c (safe_from_p): Abort if passed a type.
+       * tree-gimple.c (recalculate_side_effects): Abort if passed
+       anything other than an expression.
+       * tree-ssa-pre.c (phi_translate): Return expr immediately if
+       is_gimple_min_invariant is true for it.  Reorder cases for clarity.
+       Abort on un-handled tree classes.
+       (valid_in_set): Likewise.
+       * tree.c (tree_code_class_strings): New static data.
+
+       * tree.h (enum tree_code_class): New.
+       (tree_code_class_strings): Declare.
+       (TREE_CODE_CLASS_STRING, EXCEPTIONAL_CLASS_P, CONSTANT_CLASS_P)
+       (REFERENCE_CLASS_P, COMPARISON_CLASS_P, UNARY_CLASS_P, BINARY_CLASS_P)
+       (STATEMENT_CLASS_P, EXPRESSION_CLASS_P, IS_TYPE_OR_DECL_P): New macros.
+       (TYPE_P, DECL_P, IS_NON_TYPE_CODE_CLASS, IS_EXPR_CODE_CLASS)
+       (checking macros, EXPR_LOCATION, SET_EXPR_LOCATION, EXPR_LOCUS): Update.
+
+       * tree.def, c-common.def, objc/objc-tree.def: Use
+       tree_code_class enumeration constants instead of code letters.
+
+       * alias.c, builtins.c, c-common.c, c-format.c, c-lang.c, c-pragma.c
+       * c-typeck.c, cgraphunit.c, convert.c, dbxout.c, dwarf2out.c
+       * emit-rtl.c expr.c, fold-const.c, gimplify.c, lambda-code.c
+       * langhooks.c, langhooks.h, predict.c, print-tree.c, reload1.c, stmt.c
+       * tree-browser.c, tree-cfg.c, tree-chrec.c, tree-complex.c, tree-dfa.c
+       * tree-dump.c, tree-eh.c, tree-gimple.c, tree-inline.c, tree-nested.c
+       * tree-outof-ssa.c, tree-pretty-print.c, tree-sra.c, tree-ssa-ccp.c
+       * tree-ssa-dce.c, tree-ssa-dom.c, tree-ssa-forwprop.c, tree-ssa-live.c
+       * tree-ssa-loop-im.c, tree-ssa-loop-ivopts.c, tree-ssa-operands.c
+       * tree-ssa-phiopt.c, tree-ssa-pre.c, tree-ssa-propagate.c
+       * tree-ssa.c, tree-ssanames.c, tree-tailcall.c, tree.c, varasm.c
+       * config/sol2-c.c, config/arm/arm.c, config/i386/winnt.c
+       * config/pa/pa.c, config/pa/pa.h, config/sh/sh.c, objc/objc-lang.c
+       Update to match.
+
+       * LANGUAGES: Add note about change.
+
+2004-09-17  Diego Novillo  <dnovillo@redhat.com>
+
+       PR tree-optimization/17319
+       * tree-ssa-alias.c (compute_points_to_and_addr_escape): Also
+       examine pointers on the LHS of an assignment.
+       (collect_points_to_info_r): Handle RETURN_EXPR.
+
+2004-09-17 Jeff Law  <law@redhat.com>
+
+       * tree-ssa-dom.c (const_and_copies_stack): New.
+       (dom_walk_block_data): Remove const_and_copies field.
+       (record_const_or_copy): No longer need to pass in varray_type *.
+       Use CONST_AND_COPIES_STACK rather than passed in block local stack.
+       Callers updated.
+       (record_equality): Similarly.
+       (restore_vars_to_original_value): Similarly.  Revamp to use new
+       single global stack rather than per-block stacks.
+       (tree_ssa_dominator_optimize): Initialize the CONST_AND_COPIES_STACK.
+       (thread_across_edge): Remove now unused parameters.
+       (dom_opt_initialize_block_local_data): No longer test the block
+       local CONST_AND_COPIES.
+       (dom_opt_initialize_block): Push a marker on CONST_AND_COPIES_STACK.
+
+2004-09-17  Jan Hubicka  <jh@suse.cz>
+
+       PR tree-optimization/17509
+       * tree-optimize.c (update_inlined_to_pointers): New function.
+       (tree_rest_of_compilation): Use it.
+
+2004-09-17  Devang Patel  <dpatel@apple.com>
+
+       * dbxout.c (get_lang_number): New.
+       (dbxout_init): Include lang number in N_SO  stab.
+       * dbxout.h (N_SO_AS, N_SO_C, N_SO_ANSI_C, N_SO_CC, N_SO_FORTRAN,
+       N_SO_PASCAL, N_SO_FORTRAN90, N_SO_OBJC, N_SO_OBJCPLUS): New #define.
+
+2004-09-17  Diego Novillo  <dnovillo@redhat.com>
+
+       PR tree-optimization/17273
+       * tree-ssa.c (replace_immediate_uses): Call fold_stmt if the
+       replacement is a constant.
+
+2004-09-17  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       * c-tree.h (enum c_typespec_keyword): New.
+       (struct c_declspecs): Adjust description of "type".  Remove
+       specbits, explicit_int_p and explicit_char_p.  Rename
+       typedef_signed_p to explicit_signed_p.  Add default_int_p, long_p,
+       short_p, signed_p, unsigned_p and complex_p.
+       (finish_declspecs): New.
+       * c-parse.in (datadef, datadecl, setspecs, decl, component_decl,
+       typename): Call finish_declspecs.
+       * c-decl.c (finish_declspecs): New.
+       (declspecs_add_type): Check for combinations which cannot occur in
+       valid specifier lists.  Update comments.
+       (shadow_tag_warned): Remove checks done in finish_declspecs.
+       Don't report useless type name if type defaulted to int.
+       (grokdeclarator): Remove checks and actions done in
+       finish_declspecs.  Don't allow for type being NULL.  Update for
+       datastructures changes.  Initialize decl_attr.
+       (build_null_declspecs, quals_from_declspecs): Update for
+       datastructures changes.
+
+2004-09-17  Sylvain Pion  <Sylvain.Pion@sophia.inria.fr>
+
+       * doc/extend.texi: Fix duplicated word.
+
+2004-09-17  Toon Moene  <toon@moene.indiv.nluug.nl>
+
+       * doc/invoke.texi: Remove stray explanation on
+       -freduce-all-givs and -fmove-all-movables.
+
+2004-09-17  James Morrison  <phython@gcc.gnu.org>
+
+       * doc/cfg.texi: Use @smallexample.
+       * doc/md.texi: Likewise.
+       * doc/tree-ssa.texi: Likewise.
+       * doc/extend.texi: Likewise.  Use @r{} in comments.
+       * doc/trouble.texi: Use @r{} in comments.
+
+2004-09-17  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * configure.ac (gcc_cv_gld_version): Handle whitespace before
+       "VERSION=".
+       * aclocal.m4 (_gcc_COMPUTE_GAS_VERSION): Ditto.
+       * configure: Regenerate.
+
+2004-09-17  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * sh.c (sh_gimplify_va_arg_expr): Don't call pass_by_reference.
+       (sh_pass_by_reference): Work around std_gimplify_va_arg_expr bug.
+       * t-sh (MULTILIB_CPUS): s/ML_m/ML_sh/g .
+       * t-sh64 (MULTILIB_CPU_DIRS): Likewise.  Match dashes and trailing
+       slashes in substitutions.
+       (MULTILIB_DIRNAMES): Remove defunct removal of /media32.
+
+2004-09-17  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * basic-block.h, c-decl.c, c-parse.in, cgraphunit.c, ddg.c,
+       gimplify.c, lambda-code.c, optabs.c, predict.c,
+       tree-scalar-evolution.c, tree-sra.c, tree-ssa-loop-ch.c,
+       tree-ssa.c, vec.h: Fix comment typos.  Follow spelling
+       conventions.
+
+2004-09-17  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * doc/compat.texi, doc/cpp.texi, doc/cppopts.texi,
+       doc/extend.texi, doc/install.texi, doc/invoke.texi,
+       doc/sourcebuild.texi, doc/tm.texi, doc/tree-ssa.texi,
+       doc/trouble.texi: Use @option around options.
+
+2004-09-17  Richard Sandiford  <rsandifo@redhat.com>
+
+       * Makefile.in (gen-protos.o): Depend on errors.h.
+
+2004-09-17  Steven Bosscher  <stevenb@suse.de>
+
+       PR tree-optimization/17513
+       * cfgexpand.c (construct_init_block): Clear EDGE_EXECUTABLE
+       for successors of the entry block.
+
+2004-09-17  Uros Bizjak  <uros@kss-loka.si>
+
+       PR rtl-optimization/15187
+       * ifcvt.c (noce_try_cmove_arith): Exit early if total
+       insn_rtx_cost of both branches > BRANCH_COST
+
+2004-09-16  Diego Novillo  <dnovillo@redhat.com>
+
+       PR tree-optimization/17528
+       * tree-ssa-alias.c (compute_flow_insensitive_aliasing): Do not
+       erase the may-alias set for a tag when merging it with
+       another.
+
+2004-09-16  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       * config/sh/sh.md (call): Extend 32-bit addresses to DImode
+       for 32-bit TARGET_SHMEDIA.
+       (call_value): Likewise.
+
 2004-09-16  Diego Novillo  <dnovillo@redhat.com>
 
        * tree-ssa-operands.c (add_call_clobber_ops): Make read-only
 2004-09-16  Andrew MacLeod  <amacleod@redhat.com>
 
        PR tree-optimization/17517
-       * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Don't 
+       * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Don't
        coalesce same-root variables without checking for abnormal PHI usage.
 
 2004-09-16  Daniel Berlin  <dberlin@dberlin.org>
-       
+
        * cfgloop.h (duplicate_loop):  Add prototype.
        * cfgloopmanip.c (duplicate_loop): Make non-static.
        * lambda-code.c (perfect_nestify): Factor out test whether
        loop invariant as well.
        (perfect_nestify): new function.
        (gcc_loop_to_lambda_loop): New parameters to track lower bounds,
-       upper bounds, and steps. 
+       upper bounds, and steps.
        Set outerinductionvar properly.
        (gcc_loopnest_to_lambda_loopnest): Add loops and need_perfect
        parameters.
 2004-09-16  Sebastian Pop  <pop@cri.ensmp.fr>
 
        * tree-loop-linear.c (gather_interchange_stats): Add more comments.
-       Gather also strides of accessed data.  Pass in the data references 
+       Gather also strides of accessed data.  Pass in the data references
        array.
-       (try_interchange_loops): Add a new heuristic for handling the temporal 
+       (try_interchange_loops): Add a new heuristic for handling the temporal
        locality.  Pass in the data references array.
        (linear_transform_loops): Pass the data references array to
        try_interchange_loops.
 
        * Makefile.in (tree-ssa-dom.o): Depend on tree-ssa-propagate.h.
        * tree-ssa-dom.c (cprop_into_stmt): Recompute TREE_INVARIANT
-        after propagating into an ADDR_EXPR.
+       after propagating into an ADDR_EXPR.
 
 2004-09-15  Andrew Pinski  <apinski@apple.com>
 
 2004-09-14  Jeff Law  <law@redhat.com>
 
        * tree-ssa-dom.c (stmts_to_rescan): Move from a block-local
-       to a global varray.  
+       to a global varray.
        (tree_ssa_dominator_optimize): Allocate stmts_to_rescan.
        (dom_opt_initialize_block_local_data): No longer test state
        of stmts_to_rescan.
        PR tree-optimization/17400
        * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Don't
        coalesce partitions when one occurs in an abnormal PHI.
-                                                             
+
 2004-09-13  Andrew Pinski  <apinski@apple.com>
 
        * config/rs6000/darwin.h (ASM_OUTPUT_COMMON): Change variable size's