OSDN Git Service

* gcse.c (execute_rtl_cprop, execute_rtl_pre, execute_rtl_hoist):
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 8617693..5904c01 100644 (file)
@@ -1,3 +1,198 @@
+2009-01-07  Steven Bosscher  <steven@gcc.gnu.org>
+
+       * gcse.c (execute_rtl_cprop, execute_rtl_pre, execute_rtl_hoist):
+       Do not add the DF_NOTE problem.
+       * store-motion.c (execute_rtl_store_motion): Likewise.
+
+2010-01-07  Martin Jambor  <mjambor@suse.cz>
+
+       PR tree-optimization/42157
+       * tree-sra.c (compare_access_positions): Stabilize sort if both
+       accesses have integer types, return zero immediately if they are the
+       same.
+
+2010-01-06  Richard Henderson  <rth@redhat.com>
+
+       PR middle-end/41883
+       * haifa-sched.c (add_to_note_list): Merge into ...
+       (concat_note_lists): ... here, and ...
+       (unlink_other_notes, rm_other_notes): Merge into...
+       (remove_notes): ... here.  Create REG_SAVE_NOTEs for
+       NOTE_INSN_EPILOGUE_BEG.  
+
+2010-01-06  Richard Guenther  <rguenther@suse.de>
+
+       * ipa-inline.c (cgraph_decide_inlining_incrementally): Do
+       not inline regular functions into always-inline functions.
+
+2010-01-06  Nick Clifton  <nickc@redhat.com>
+
+       * config/rx/rx.h (enum rx_cpu_type): Add RX200.
+       (CC1_SPEC): Issue an error message if -mcpu=rx200 and -fpu are
+       used together.
+       (OVERRIDE_OPTIONS): Delete.
+       (OPTIMIZATION_OPTIONS): Define.
+       (ALLOW_RX_FPU_INSNS): Define only in terms of -fpu option.
+       * config/rx/rx.c (rx_handle_option): Issue an error message if
+       -mcpu=rx200 and -fpu are used together.
+       (rx_set_optimization_options): New function.  Issue an error
+       message if an optimization attribute attempts to reset the FPU/
+       math optimization pairing.
+       * config/rx/rx-protos.h (rx_set_optimization_options): Prototype.
+       * config/rx/rx.opt: Set the default to 32-bit doubles.
+       * config/rx/t-rx: Add multilibs for -nofpu option.
+       * doc/invoke.texi: Update documentation of RX options.
+
+2010-01-06  Richard Guenther  <rguenther@suse.de>
+
+       * tree-ssa-pre.c (name_to_id): New global.
+       (alloc_expression_id): Simplify SSA name handling.
+       (lookup_expression_id): Likewise.
+       (init_pre): Zero name_to_id.
+       (fini_pre): Free it.
+
+2010-01-06  Uros Bizjak  <ubizjak@gmail.com>
+
+       * ifcvt.c (if_convert): Output slim multiple dumps with TDF_SLIM.
+
+2010-01-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR target/42542
+       * config/i386/sse.md (smaxv2di3): New.
+       (umaxv2di3): Likewise.
+       (sminv2di3): Likewise.
+       (uminv2di3): Likewise.
+
+2010-01-05  Eric Botcazou  <ebotcazou@adacore.com>
+
+       PR target/42564
+       * config/sparc/sparc.h (SPARC_SYMBOL_REF_TLS_P): Delete.
+       * config/sparc/sparc-protos.h (legitimize_pic_address): Likewise.
+       (legitimize_tls_address): Likewise.
+       (sparc_tls_referenced_p): Likewise.
+       * config/sparc/sparc.c (sparc_expand_move): Use legitimize_tls_address
+       and adjust calls to legitimize_pic_address.
+       (legitimate_constant_p) Use sparc_tls_referenced_p.
+       (legitimate_pic_operand_p): Likewise.
+       (sparc_legitimate_address_p): Do not use SPARC_SYMBOL_REF_TLS_P.
+       (sparc_tls_symbol_ref_1): Delete.
+       (sparc_tls_referenced_p): Make static, recognize specific patterns.
+       (legitimize_tls_address): Make static, handle CONST patterns.
+       (legitimize_pic_address): Make static, remove unused parameter and
+       adjust recursive calls.
+       (sparc_legitimize_address): Make static, use sparc_tls_referenced_p
+       and adjust call to legitimize_pic_address.
+       (sparc_output_mi_thunk): Likewise.
+
+2010-01-05  Paolo Bonzini  <bonzinI@gnu.rg>
+           H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR target/42542
+       * config/i386/i386.c (ix86_expand_int_vcond): Convert GTU to GT
+       for V4SI and V2DI by subtracting (-(INT MAX) - 1) from both
+       operands to make them signed.
+
+       Revert:
+       2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR target/42542
+       * config/i386/i386.c (ix86_expand_int_vcond): Don't convert
+       GTU to GT for V4SI and V2DI.
+
+       * config/i386/sse.md (umaxv4si3): Enabled for SSE4.1 and XOP.
+       (umin<mode>3): Removed.
+       (uminv8hi3): New.
+       (uminv4si3): Likewise.
+
+2010-01-05  Martin Jambor  <mjambor@suse.cz>
+
+       PR tree-optimization/42462
+       * ipa-inline.c (compute_inline_parameters): Pass node->decl instead of
+       current_function_decl to helper functions and macros.
+
+2010-01-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       PR bootstrap/41771
+       * flags.h: Don't include real.h.
+       (HONOR_NANS, HONOR_SNANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS,
+       HONOR_SIGN_DEPENDENT_ROUNDING): Move ...
+       * real.h (HONOR_NANS, HONOR_SNANS, HONOR_INFINITIES,
+       HONOR_SIGNED_ZEROS, HONOR_SIGN_DEPENDENT_ROUNDING): ... here.
+       * dominance.c: Update copyright.
+       * gimple.c (walk_gimple_op): Remove inline.
+       * tree-ssa-reassoc.c: Include real.h.
+       * Makefile.in (FLAGS_H): Remove $(REAL_H).
+       (tree-ssa-reassoc.o): Depend on $(REAL_H).
+
+2010-01-05  Nick Clifton  <nickc@redhat.com>
+
+       * config/rx/rx.c (rx_get_stack_layout): Fix allocation of second
+       register to push into the stack frame when the accumulator has to
+       be saved during interrupts.
+
+2010-01-05  Eric Fisher  <joefoxreal@gmail.com>
+
+       * doc/invoke.texi: Remove the documentation about option
+       -Wunreachable-code.
+       * common.opt (Wunreachable-code):  Preserved for backward
+       compatibility.
+       * tree-cfg.c: Remove the implementation of -Wunreachable-code.
+       * opts.c (common_handle_option): Add OPT_Wunreachable_code to
+       the backward compatibility flag section.
+
+2010-01-05  Richard Guenther  <rguenther@suse.de>
+
+       * tree-ssa-pre.c (bitmap_value_insert_into_set): Optimize.
+
+2010-01-05  Jakub Jelinek  <jakub@redhat.com>
+
+       PR other/42611
+       * cfgexpand.c (expand_one_var): Diagnose too large variables.
+
+       PR tree-optimization/42508
+       * tree-sra.c (convert_callers): Check for recursive call
+       by comparing cgraph nodes instead of decls.
+       (modify_function): Call ipa_modify_formal_parameters also
+       on all same_body aliases.
+
+       * cgraphunit.c (cgraph_materialize_all_clones): Compare
+       cgraph nodes when checking for same_body aliases.
+
+2010-01-05  Richard Guenther  <rguenther@suse.de>
+
+       * tree-ssa-pre.c (get_or_alloc_expr_for_name): Avoid redundant
+       allocation and lookup.
+       (get_or_alloc_expr_for_constant): Likewise.
+       (phi_translate): Sink allocation.
+
+2010-01-04  Richard Guenther  <rguenther@suse.de>
+
+       * tree-ssa-sccvn.c (get_or_alloc_constant_value_id): Allocate
+       a new entry only if needed.
+       * tree-ssa-dom.c (lookup_avail_expr): Likewise.
+       * tree-ssa-coalesce.c (find_coalesce_pair): Avoid one
+       hashtable lookup.
+       * tree-ssa-pre.c (sorted_array_from_bitmap_set): Pre-allocate
+       the result array.
+       (phi_translate): Handle CONSTANTs early.
+
+2010-01-04  Martin Jambor  <mjambor@suse.cz>
+
+       PR tree-optimization/42398
+       * tree-sra.c (struct access): Removed flag grp_different_types.
+       (dump_access): Do not dump the removed flag.
+       (sort_and_splice_var_accesses): Do not set the removed flag.
+       (sra_modify_expr): Check for type compatibility directly.
+
+2010-01-04  Martin Jambor  <mjambor@suse.cz>
+
+       PR tree-optimization/42366
+       * ipa-cp.c (ipcp_init_stage): Always call ipa_compute_jump_functions on
+       edges with variable number of parameters.
+       * ipa-prop.c (ipa_write_node_info): Stream out uses_analysis_done
+       flag instead of asserting it.
+       (ipa_read_node_info): Read uses_analysis_done flag.
+
 2010-01-04  Richard Guenther  <rguenther@suse.de>
 
        * tree-ssa-sccvn.c (vn_reference_op_compute_hash): Use
        * config/sparc/sparc.c: Fix formatting nits.
 
 2010-01-02  Gerald Pfeifer  <gerald@pfeifer.com>
-            Alexander Monakov  <amonakov@ispras.ru>
+           Alexander Monakov  <amonakov@ispras.ru>
 
        * doc/invoke.texi (Optimize Options): Reword introduction a bit.
 
@@ -220,62 +415,3 @@ Copyright (C) 2010 Free Software Foundation, Inc.
 Copying and distribution of this file, with or without modification,
 are permitted in any medium without royalty provided the copyright
 notice and this notice are preserved.
-2010-01-02  Uros Bizjak  <ubizjak@gmail.com>
-
-       PR target/42448
-       * config/alpha/predicates.md (aligned_memory_operand): Return false
-       for CQImode.
-       (unaligned_memory_operand): Return true for CQImode.
-       * config/alpha/alpha.c (get_aligned_mem): Assert that location
-       doesn not cross aligned SImode word boundary.
-
-2010-01-02  Anatoly Sokolov  <aesok@post.ru>
-
-       * config/avr/avr.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P, XEXP_):
-       Remove.
-       * config/avr/avr-protos.h (avr_init_once, avr_optimization_options,
-       avr_change_section, avr_reg_class_from_letter) : Remove declaration.
-
-2010-01-02  Richard Guenther  <rguenther@suse.de>
-
-       PR lto/41597
-       * toplev.c (compile_file): Emit LTO marker properly.  Change
-       it to __gnu_lto_v1.
-       * collect2.c (scan_prog_file): Adjust for changed LTO marker.
-
-2010-01-01  Richard Guenther  <rguenther@suse.de>
-
-       PR debug/42455
-       * tree-sra.c (analyze_all_variable_accesses): Work in DECL_UID order.
-
-2010-01-01  Richard Guenther  <rguenther@suse.de>
-
-       PR c/42570
-       * c-decl.c (grokdeclarator): For zero-size arrays force
-       structural equality checks as layout_type does.
-
-2010-01-01  H.J. Lu  <hongjiu.lu@intel.com>
-
-       * builtins.c: Update copyright to 2010.
-
-2010-01-01  H.J. Lu  <hongjiu.lu@intel.com>
-
-       PR lto/42531
-       * lto-streamer-out.c (produce_asm): Revert the last change.
-       (copy_function): Likewise.
-
-       * lto-streamer.c (lto_get_section_name): Skip any leading
-       asterisk in name.
-
-2010-01-01  Richard Guenther  <rguenther@suse.de>
-
-       PR middle-end/42559
-       * builtins.c (get_object_alignment): Do not use DECL_ALIGN
-       for LABEL_DECLs.
-
-\f
-Copyright (C) 2010 Free Software Foundation, Inc.
-
-Copying and distribution of this file, with or without modification,
-are permitted in any medium without royalty provided the copyright
-notice and this notice are preserved.