OSDN Git Service

PR tree-optimization/49618
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 9a5141e..d4d1c48 100644 (file)
@@ -1,3 +1,121 @@
+2011-07-05  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/49618
+       * tree-eh.c (tree_could_trap_p) <case CALL_EXPR>: For DECL_WEAK
+       t recurse on the decl.
+       <case FUNCTION_DECL, case VAR_DECL>: For DECL_WEAK decls
+       return true if expr isn't known to be defined in current
+       TU or some other LTO partition.
+
+2011-07-05  Michael Meissner  <meissner@linux.vnet.ibm.com>
+
+       * params.def (PARAM_CASE_VALUES_THRESHOLD): New parameter to
+       override CASE_VALUES_THRESHOLD.
+
+       * stmt.c (toplevel): Include params.h.
+       (case_values_threshold): Use the --param case-values-threshold
+       value if non-zero, otherwise use machine dependent value.
+       (expand_case): Use case_values_threshold.
+
+       * Makefile.in (stmt.o): Add $(PARAMS_H) dependency.
+
+       * doc/invoke.texi (--param case-values-threshold): Document.
+
+2011-07-05  Richard Henderson  <rth@redhat.com>
+
+       * dwarf2out.c (dwarf2out_cfi_label): Make static.
+       (dwarf2out_flush_queued_reg_saves): Make static.
+       (dwarf2out_reg_save): Remove.
+       (dwarf2out_return_save): Remove.
+       (dwarf2out_return_reg): Remove.
+       (dwarf2out_reg_save_reg): Remove.
+       (dwarf2out_def_cfa): Merge into ...
+       (dwarf2out_frame_init): ... here.
+       * dwarf2out.h, tree.h: Remove declarations as necessary.
+
+2011-07-05  Richard Henderson  <rth@redhat.com>
+
+       * config/ia64/ia64.c (ia64_dwarf_handle_frame_unspec): Remove.
+       (TARGET_DWARF_HANDLE_FRAME_UNSPEC): Remove.
+       (ia64_expand_epilogue): Emit an empty FRAME_RELATED_EXPR for
+       the alloc insn.
+
+       * config/ia64/ia64.c (ia64_emit_deleted_label_after_insn): Remove.
+       (IA64_CHANGE_CFA_IN_EPILOGUE): Remove.
+       (process_epilogue): Don't call dwarf2out_def_cfa.
+
+       * config/ia64/ia64.c (ia64_expand_prologue): Use pc_rtx to
+       indicate the return address save.
+       (process_cfa_register): Likewise.
+
+       * config/ia64/ia64.c (ia64_dwarf2out_def_steady_cfa): Remove.
+       (process_cfa_adjust_cfa, ia64_asm_unwind_emit): Don't call it.
+
+       * config/ia64/ia64.c (ia64_expand_prologue): Emit REG_CFA_REGISTER
+       for ar.pfs save at alloc insn.
+
+2011-07-05  Richard Henderson  <rth@redhat.com>
+
+       * config/arm/arm.c (arm_dwarf_handle_frame_unspec): Remove.
+       (TARGET_DWARF_HANDLE_FRAME_UNSPEC): Remove.
+       (arm_expand_prologue): Use REG_CFA_REGISTER to mark the
+       stack pointer save.
+       (arm_unwind_emit_set): Don't recognize UNSPEC_STACK_ALIGN.
+       (arm_unwind_emit): Walk REG_NOTES for unwinding notes.  Emit
+       proper unwind info for a REG_CFA_REGISTER save of stack pointer.
+       * config/arm/arm.md (UNSPEC_STACK_ALIGN): Remove.
+
+2011-07-05  Richard Henderson  <rth@redhat.com>
+
+       * config/vax/vax.md (define_c_enum unspecv): New.  Define the
+       VUNSPEC_* constants here instead of via define_constants.
+       (VUNSPEC_PEM): New constant.
+       (procedure_entry_mask): New insn.
+       (prologue): New expander.
+       * config/vax/vax.c (vax_add_reg_cfa_offset): New.
+       (vax_expand_prologue): Rename from vax_output_function_prologue;
+       emit rtl instead of text.
+       (TARGET_ASM_FUNCTION_PROLOGUE): Remove.
+       (print_operand): Add 'x' prefix.
+
+2011-07-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR middle-end/47715
+       * calls.c (precompute_register_parameters): Promote the function
+       argument before checking non-legitimate constant.
+
+2011-07-05  Sebastian Pop  <sebastian.pop@amd.com>
+
+       PR tree-optimization/47654
+       * graphite-blocking.c (pbb_strip_mine_time_depth): Do not return bool.
+       (lst_do_strip_mine_loop): Return an int.
+       (lst_do_strip_mine): Same.
+       (scop_do_strip_mine): Same.
+       (scop_do_block): Loop blocking should strip-mine at least two loops.
+       * graphite-interchange.c (lst_interchange_select_outer): Return an int.
+       (scop_do_interchange): Same.
+       * graphite-poly.h (scop_do_interchange): Update declaration.
+       (scop_do_strip_mine): Same.
+
+2011-07-05  Sebastian Pop  <sebastian.pop@amd.com>
+
+       * graphite-clast-to-gimple.c (precision_for_value): Removed.
+       (precision_for_interval): Removed.
+       (gcc_type_for_interval): Use mpz_sizeinbase.
+
+2011-07-05  Sebastian Pop  <sebastian.pop@amd.com>
+
+       * graphite-ppl.h (value_max): Correct computation of max.
+
+2011-07-05  Sebastian Pop  <sebastian.pop@amd.com>
+
+       * graphite-clast-to-gimple.c (clast_name_to_index): Add missing space.
+
+2011-07-05  Richard Guenther  <rguenther@suse.de>
+
+       * c-decl.c (c_init_decl_processing): Defer building common
+       tree nodes to c_common_nodes_and_builtins.
+
 2011-07-05  Razya Ladelsky  <razya@il.ibm.com>
 
        PR tree-optimization/49580