OSDN Git Service

* Makefile.in (OBJS-common): Reformat, alphabetize, but put
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 7fff5e8..f050d94 100644 (file)
-2007-01-19  Basile Starynkevitch  <basile@starynkevitch.net>
+2007-01-23  Ian Lance Taylor  <iant@google.com>
+
+       * Makefile.in (OBJS-common): Reformat, alphabetize, but put
+       insn-*.o first.
+       (OBJS-archive): Reformat, alphabetize.
+       (OBJS): Change out_object_file to OBJS-md.
+
+2007-01-23  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.md: Use REG_P, MEM_P, CONST_INT_P, LABEL_P,
+       JUMP_P and CALL_P predicates where applicable.
+       * config/i386/i386.c: Ditto.
+       * config/i386/i386.md: Ditto.
+       * config/i386/mmx.md: Ditto.
+       * config/i386/predicates.md: Ditto.
+
+2007-01-22  Andreas Schwab  <schwab@suse.de>
+
+       * config/m68k/m68k.h: Fix comment.
+
+2007-01-22  Jan Hubicka  <jh@suse.cz>
+
+       * passes.c (init_optimization_passes): Do not rerun
+       pass_early_warn_uninitialized.
 
-       * doc/gty.texi (Options): Document the mark_hook option to
-       GTY.
-       * gcc/gengtype.c (write_types_data, write_func_for_structure,
-       write_types, ggc_wtd, pch_wtd): Added skip_hooks to
-       write_types_data, ggc_wtd, pch_wtd for mark_hook.
-       (walk_type, write_func_for_structure): Generate the mark_hook if
-       needed.
+2007-01-22  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/30038
+       * tree-ssa-math-opts.c (maybe_record_sincos): New static helper
+       function.
+       (execute_cse_sincos_1): Likewise.
+       (execute_cse_sincos): Likewise.
+       (gate_cse_sincos): Likewise.
+       (pass_cse_sincos): New pass CSEing sin() and cos() calls using
+       the cexpi() canonicalization of sincos().
+       * tree-pass.h (pass_cse_sincos): Declare.
+       * passes.c (init_optimization_passes): New pass pas_cse_sincos.
+
+2007-01-21  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       PR rtl-optimization/29329
+       * combine.c (replaced_rhs_insn): Rename to i2mod.
+       (replaced_rhs_value): Rename to i2mod_new_rhs.
+       (i2mod_old_rhs): New global variable.
+       (combine_instructions): Adjust for above change.  Save a copy of
+       the old RHS into i2mod_old_rhs when the contents of a REG_EQUAL
+       note are substituted in the second instruction.
+       (distribute_notes) <REG_DEAD>: Adjust for above change.  Do not
+       ditch the note if it pertains to the second eliminated register
+       and this register is mentioned in i2mod_old_rhs.
+
+       Revert:
+       2006-09-12  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       * combine.c (distribute_notes) <REG_DEAD>: Do not consider SETs past
+       the insn to which the note was originally attached.
+
+2007-01-21  Jan Hubicka  <jh@suse.cz>
+
+       * ipa-inline.c (inlining_mode): Comment, move up.
+       (cgraph_decide_inlining_incrementally): Do not perform inlining
+       itself; fix handling of flattening of self recursive functions.
+       (cgraph_find_cycles): Remove.
+       (cgraph_flatten_node): Remove.
+       (cgraph_decide_inlining): Use incremental inliner to handle flattening.
+       (try_inline): New function.
+       (cgraph_early_inlining): Update call of
+       cgraph_decide_inlining_incrementally.  Apply inlining here.
+       (apply_inline): Update call of cgraph_decide_inlining_incrementally.
+
+2007-01-21  Dirk Mueller  <dmueller@suse.de>
+
+       PR bootstrap/30511
+       * tree-vrp.c (check_array_bounds): do not warn
+       about ADDR_EXPR's of ARRAY_REF's which are immediately
+       used in binary expressions.
+
+2007-01-21  Ira Rosen  <irar@il.ibm.com>
+
+       * tree-vectorizer.h (struct _stmt_vec_info): Add new field 
+       read_write_dep and macros for its access.
+       * tree-vectorizer.c (new_stmt_vec_info): Initialize the new field.
+       * tree-vect-analyze.c (vect_analyze_data_ref_dependence): Remove 
+       argument, call vect_check_interleaving for every independent pair of
+       data-refs. Mark loads that access the same memory location as a store
+       in the loop.
+       (vect_check_dependences): Remove.
+       (vect_analyze_data_ref_dependences): Remove  vect_check_dependences 
+       call, fix the call to vect_analyze_data_ref_dependence.
+       (vect_analyze_data_ref_access): For statements that access the same 
+       data-ref, check that they are not stores; for loads, check that there
+       is no store that access the same location.
+
+2007-01-20  Roger Sayle  <roger@eyesopen.com>
+           Joseph Myers  <joseph@codesourcery.com>
+
+       * doc/invoke.texi (-fdump-rtl-combine): Fix under/overfull hbox.
+       (-fdump-rtl-stack): Likewise.
+       (-fno-signed-zeros): Use @minus{} for a minus sign.  Correct typo.
+       (-mcheck-zero-division, -mcpu): Fix under/overfull hbox.
+       (-mpt-fixed): Use @minus{} for minus sign.
+       (Using Precompiled Headers): Fix under/overfull hbox.
+
+2007-01-20  Jan Hubicka  <jh@suse.cz>
+
+       * tree-flow.h (struct stmt_ann_d): Move references_memory to proper
+       place within annotation.
+
+2007-01-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * pa.c (output_move_double): Change array size of xoperands to 4.
+
+2007-01-20  Jan Hubicka  <jh@suse.cz>
+
+       * tree-tailcall.c (adjust_return_value): Do not use RESULT_DECL
+       as temporary.
+
+2007-01-19  Ian Lance Taylor  <iant@google.com>
+
+       * expmed.c (expand_divmod) [TRUNC_MOD_EXPR, TRUNC_DIV_EXPR]: Cast
+       constant to unsigned HOST_WIDE_INT before negating.
+
+2007-01-19  Ian Lance Taylor  <iant@google.com>
+
+       * tree-ssa-operands.h (struct vuse_vec_d): Change num_vuse field
+       to unsigned.
+       (VUSE_VECT_ELEMENT) [ENABLE_CHECKING]: Use unsigned comparison.
+       (VUSE_ELEMENT_PTR) [ENABLE_CHECKING]: Likewise.
+       (SET_VUSE_VECT_ELEMENT) [ENABLE_CHECKING]: Likewise.
+       (SET_VUSE_ELEMENT_VAR) [ENABLE_CHECKING]: Likewise.
+       (SET_VUSE_ELEMENT_PTR) [ENABLE_CHECKING]: Likewise.
+       (realloc_vdef, realloc_vuse): Change second parameter to
+       unsigned.
+       (ssa_operand_iterator_d): Change vuse_index and mayuse_index
+       fields to unsigned.
+       * tree-ssa-operands.c (realloc_vop): Change num_elem parameter to
+       unsigned. Change x and lim locals to unsigned.
+       (realloc_vdef, realloc_vuse): Change num_elem parameter to
+       unsigned.
+       (finalize_ssa_vuse_ops): Change old_i local to unsigned.
+       (copy_virtual_operands): Change i and n locals to unsigned.
+
+2007-01-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       PR middle-end/29335
+       * builtins.c (fold_builtin_1): Handle builtin fdim.
+
+2007-01-20  Jan Hubicka  <jh@suse.cz>
+
+        * tree-ssa.c (init_tree_ssa): Do not call init_alias_heapvars.
+        * tree-ssa-structalias.c (compute_points_to_sets): Do call
+        init_alias_heapvars.
+        (init_alias_heapvars): Initialize only when not already initialized.
+        (delete_alias_heapvars): Set heapvar_for_stmt to NULL.
+
+2007-01-19  Roger Sayle  <roger@eyesopen.com>
+
+       * common.opt (fsigned-zeros): New command line option.
+       * flags.h (HONOR_SIGNED_ZEROS): Control via flag_signed_zeros instead
+       of flag_unsafe_math_optimizations.
+       * opts.c (set_fast_math_flags): The -ffast-math command line option
+       implies -fno-signed-zeros.
+       (fast_math_flags_set_p): Likewise.
+
+       * doc/invoke.texi: Document new -fno-signed-zeros option, and update
+       the documentation of -ffast-math appropriately.  Wrap long lines.
+
+2007-01-19  Steve Ellcey  <sje@cup.hp.com>
+
+       * system.h (ASM_MAKE_LABEL_LINKONCE): Poison.
+       * varasm.c (globalize_decl): Remove ASM_MAKE_LABEL_LINKONCE ifdef.
+
+2007-01-19  Tomas Bily  <tbily@suse.cz>
+
+        * cgraphunit.c (cgraph_finalize_function): Updating of pid
+        * tree-profile.c:
+        (tree_init_ic_make_global_vars): New function
+        (tree_init_edge_profiler): call of tree_init_ic_make_global_vars
+        (tree_gen_ic_profiler): New function
+        (tree_gen_ic_func_profiler): New function
+        (tree_profiling): Added calling of tree_gen_ic_func_profiler
+        (tree_profile_hooks): Added hook for indirec/virtual calls
+        * value-prof.c (tree_find_values_to_profile): New case for
+        indirect calls
+        (tree_values_to_profile): Call for determining indirect/virtual
+        counters
+        (tree_indirect_call_to_profile): New function
+        (tree_ic_transform): New function
+        (tree_ic): New function
+        (find_func_by_pid): New function
+        (init_pid_map): New function
+        (tree_value_profile_transformations): Added check for
+        indirect/virtual call transformation
+        * value-prof.h (enum hist_type): New counter type for
+        indirect/virtual calls
+        (profile_hooks): Added new hook for profiling indirect/virtual
+        calls
+        * profile.c (instrument_values): New case for indirect/virtual
+        call added
+        * gcov-io.h (GCOV_LAST_VALUE_COUNTER): Changed to 6
+        (GCOV_COUNTER_V_INDIR): New counter type
+        (GCOV_COUNTER_NAMES): New name of counter "indirect" added
+        (GCOV_MERGE_FUNCTIONS): New merge function for indirect/virtual
+        call added
+        * cgraph.c: Definition of cgraph_max_pid
+        (cgraph_create_node): Default init of pid attribute
+        * cgraph.h: Declaration of cgraph_max_pid
+        (struct cgraph_node): Added pid attribute
+        * libgcov.c (__gcov_indirect_call_profiler): New function
+       (__gcov_one_value_profiler_body): New function
+       (__gcov_one_value_profiler): Body was moved to
+       __gcov_one_value_profiler_body and calls it
+
+2007-01-19  Basile Starynkevitch  <basile@starynkevitch.net>
+       
+       * doc/gty.texi (Options): Document the mark_hook option to GTY.
+        * gengtype.c (write_types_data, write_func_for_structure,
+        write_types, ggc_wtd, pch_wtd): Add skip_hooks to
+        write_types_data, ggc_wtd, pch_wtd for processing mark_hook.
+        (walk_type, write_func_for_structure): Generate the mark_hook if
+        needed.
 
 2007-01-19  Jan Hubicka  <jh@suse.cz>
 
-       * ipa-inline.c (cgraph_decide_inlining_incrementally): Instead of 'early' argument
-       take inlining mode argument specifying whether to inline for size/speeed or all
-       functions; add support for flattening; improve dumpting.
+       * ipa-inline.c (cgraph_decide_inlining_incrementally): Instead of
+       'early' argument take inlining mode argument specifying whether to
+       inline for size/speeed or all functions; add support for flattening;
+       improve dumpting.
        (cgraph_early_inlining): Update call of decide_inlining_incrementally.
 
 2007-01-19  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>