OSDN Git Service

2008-09-22 David Daney <ddaney@avtrex.com>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 1ce145f..f558558 100644 (file)
@@ -1,3 +1,123 @@
+2008-09-22  David Daney  <ddaney@avtrex.com>
+
+       PR target/37593
+       * config/mips/mips.h (FUNCTION_PROFILER): Call _mcount via a
+       register if TARGET_LONG_CALLS.
+
+2008-09-22  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/37145
+       * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Re-enable
+       value-numbering union accesses with their offset and size only.
+       (visit_reference_op_load): Fix simplification of inserted conversions.
+       * tree-ssa-pre.c (find_or_generate_expression): Do not
+       recursively generate expressions if running FRE.
+
+2008-09-22  Adam Nemet  <anemet@caviumnetworks.com>
+
+       * config/mips/mips.h (ISA_HAS_BADDU): New macro.
+       * config/mips/mips.md (*baddu_si_eb, *baddu_si_el,
+       *baddu_di<mode>): New patterns.
+
+2008-09-22  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/37145
+       * tree-ssa-pre.c (fully_constant_expression): Simplify builtin calls.
+       (phi_translate_1): Constant fold references.
+
+2008-09-22  Ira Rosen  <irar@il.ibm.com>
+
+       PR tree-optimization/37482
+       * tree-vectorizer.h (struct _slp_instance): Add new field.
+       (SLP_INSTANCE_FIRST_LOAD_STMT): New.
+       (get_earlier_stmt): New function.
+       * tree-vect-analyze.c (vect_find_first_load_in_slp_instance): New
+       function.
+       (vect_analyze_slp_instance): Set SLP_INSTANCE_FIRST_LOAD_STMT.
+       * tree-vect-transform.c (vect_finish_stmt_generation): Remove the
+       asserts that GSI points to the scalar statement being vectorized.
+       Set new statement location according to GSI.
+       (vect_schedule_slp_instance): Use GSI of
+       SLP_INSTANCE_FIRST_LOAD_STMT when vectorizing loads.
+
+2008-09-21  Jan Hubicka  <jh@suse.cz>
+
+       * ipa-cp.c (ipcp_estimate_growth): Check recursive calls.
+       (ipcp_insert_stage): Update dead_nodes bitmap.
+
+2008-09-22  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       PR target/37528 
+       * config/i386/t-cygming (SHLIB_LC): Remove.
+       (SHLIB_LINK): Don't add static objects to SHLIB_IMPLIB
+       * config/i386/t-cygwin (SHLIB_LC): Specify all required
+       libraries.
+
+2008-09-22  Hans-Peter Nilsson  <hp@axis.com>
+
+       PR middle-end/37170
+       PR middle-end/37280
+       * final.c (mark_symbol_ref_as_used): New helper function.
+       (output_operand): Instead of just looking inside MEMs for
+       SYMBOL_REFs, use new helper function and for_each_rtx.
+       * varasm.c (assemble_external): Move #ifndef ASM_OUTPUT_EXTERNAL
+       to after weak-handling.  Don't mark decls with TREE_STATIC as weak.
+       Make head comment more general.
+       * config/darwin.c (machopic_output_indirection): Handle weak
+       references here, like in assemble_external.
+
+2008-09-21  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * config/sparc/sparc-protos.h (gen_compare_operator): Declare.
+       (sparc_emit_float_lib_cmp): Change return type.
+       * config/sparc/sparc.c (gen_compare_reg): Add comment about TFmode.
+       (gen_compare_operator): New function.
+       (sparc_emit_float_lib_cmp): Return the new operator to be used in
+       the comparison sequence.  Minor tweaks.
+       * config/sparc/sparc.md (seq, sne, sgt, slt, sge, sle): Assert
+       that the final operator and the result of sparc_emit_float_lib_cmp
+       match for software TFmode; use emit_insn in lieu of emit_jump_insn.
+       (beq, bne, bgt, blt, bge, ble, bunordered, bordered, bungt, bunlt,
+       buneq, bunge, bunle, bltgt): Assert that the final operator and the
+       result of sparc_emit_float_lib_cmp match for software TFmode.
+       (movqicc, movhicc, movsicc, movdicc): Merge into...
+       (mov<I:mode>cc): ...this.
+       (movsfcc, movdfcc, movtfcc): Merge into...
+       (mov<F:mode>cc): ...this.
+       (movqi_cc_sp64, movhi_cc_sp64, movsi_cc_sp64, movdi_cc_sp64): Merge
+       into...
+       (mov<I:mode>_cc_v9): ...this.
+       (movdi_cc_sp64_trunc): Delete.
+       (movqi_cc_reg_sp64, movhi_cc_reg_sp64, movsi_cc_reg_sp64,
+       movdi_cc_reg_sp64): Merge into...
+       (mov<I:mode>_cc_reg_sp64): ...this.
+       (movsf_cc_sp64): Rename into...
+       (movsf_cc_v9): ...this.
+       (movdf_cc_sp64): Rename into...
+       (movdf_cc_v9): ...this.
+       (movtf_cc_hq_sp64): Rename into...
+       (movtf_cc_hq_v9): ...this.
+       (movtf_cc_sp64): Rename into...
+       (movtf_cc_v9): ...this.  Adjust for renaming of movdf_cc_sp64.
+
+2008-09-21  Diego Novillo  <dnovillo@google.com>
+
+       * doc/gccint.texi: Include generic.texi and gimple.texi.
+       Re-order index.
+       * doc/tree-ssa.texi (GENERIC): Move to generic.texi.
+       (GIMPLE): Move to gimple.texi.
+       (Annotations): Remove references to to stmt_ann_t and
+       ssa_name_ann_t.
+       (SSA Operands): Rename from 'Statement Operands'.
+       * doc/generic.texi: New.
+       * doc/gimple.texi: New.
+       * Makefile.in (TEXI_GCCINT_FILES): Add generic.texi and
+       gimple.texi.
+       * Makefile.in (TEXI_GCCINT_FILES):
+       * gimple.c (gimple_copy_call_skip_args): Rename from
+       giple_copy_call_skip_args.  Update all users.
+       * doc/gimple.texi (gimple_copy_call_skip_args): Document.
+
 2008-09-21  Ira Rosen  <irar@il.ibm.com>
 
        PR tree-optimization/37539