OSDN Git Service

PR debug/49841
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 5b0c583..c86e6da 100644 (file)
@@ -1,3 +1,211 @@
+2011-07-25  Richard Henderson  <rth@redhat.com>
+
+       PR debug/49841
+       * config/rs6000/rs6000.c (rs6000_frame_related): Return the insn.
+       (emit_frame_save): Likewise.
+       (rs6000_emit_prologue): Move the FRAME_RELATED_EXPR from the save
+       insn onto a dummy blockage insn after the join label.
+
+2011-07-25  Richard Henderson  <rth@redhat.com>
+
+       * dwarf2cfi.c (dw_trace_info): Add ID member.
+       (get_trace_index): Remove.  Change users to use ID member.
+       (before_next_cfi_note): New.
+       (connect_traces): Remove unreachable traces before the main loop.
+       Look across one trace and generate remember/restore_state if needed.
+
+2011-07-25  Richard Henderson  <rth@redhat.com>
+
+       * dwarf2cfi.c (dump_cfi_row, debug_cfi_row): New.
+
+2011-07-25  Joern Rennecke  <joern.rennecke@embecosm.com>
+
+       * genattr.c (write_upcase, gen_attr <enum definition writing>):
+       Move to ...
+       * genattr-common.c ... here.
+       (main): Call gen_attr.
+       * optc-gen.awk: Make generated program include insn-attr-common.h .
+       * Makefile.in (oprions.o): Depend on insn-attr-common.h
+
+2011-07-25  Anatoly Sokolov  <aesok@post.ru>
+
+       * config/m32c/m32c.h (PRINT_OPERAND, PRINT_OPERAND_ADDRESS,
+       PRINT_OPERAND_PUNCT_VALID_P): Remove macro.
+       * config/m32c/m32c-protos.h (m32c_print_operand_punct_valid_p,
+       m32c_print_operand, m32c_print_operand_address): Remove.
+       * config/m32c/m32c.c (m32c_print_operand_punct_valid_p): Make static.
+       Change return type to bool. Change argument type to bool.
+       (m32c_print_operand, m32c_print_operand_address): Make static.
+       (TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS,
+       TARGET_PRINT_OPERAND_PUNCT_VALID_P): Define.
+
+2011-07-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * doc/sourcebuild.texi (Effective-Target Keywords, Environment
+       attributes): Document mmap.
+
+2011-07-25  Anatoly Sokolov  <aesok@post.ru>
+
+       * config/mmix/mmix.h (PRINT_OPERAND, PRINT_OPERAND_ADDRESS,
+       PRINT_OPERAND_PUNCT_VALID_P): Remove macro.
+       * config/mmix/mmix-protos.h (mmix_print_operand_punct_valid_p,
+       mmix_print_operand, mmix_print_operand_address): Remove.
+       * config/mmix/mmix.c (mmix_print_operand_punct_valid_p): Make static.
+       Change return type to bool. Change argument type to bool.
+       (mmix_print_operand, mmix_print_operand_address): Make static.
+       (mmix_intval, mmix_output_condition): Change 'x' argument type 
+       to const_rtx.
+       (TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS,
+       TARGET_PRINT_OPERAND_PUNCT_VALID_P): Define.
+
+2011-07-25  Georg-Johann Lay  <avr@gjlay.de>
+       
+       PR target/39386
+       * config/avr/avr.c (out_shift_with_cnt): Use tmp_reg as
+       shift counter for x << x and x >> x shifts.
+
+2011-07-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       PR target/47124
+       * config.gcc: Reject *-*-solaris2 configuration.
+
+2011-07-25  Richard Sandiford  <richard.sandiford@linaro.org>
+
+       PR tree-optimization/49809
+       * tree-ssa-phiopt.c (cond_if_else_store_replacement): Use
+       gimple_get_lhs instead of gimple_assign_lhs.
+
+2011-07-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * system.h [__cplusplus]: Wrap C function declarations in extern "C".
+
+2011-07-25  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/49822
+       * tree-ssa-forwprop.c (remove_prop_source_from_use): Robustify
+       more.  Make sure to preserve stmts with side-effects.  Properly
+       handle virtual defs, follow a longer def chain.
+
+2011-07-22  Romain Geissler  <romain.geissler@gmail.com>
+
+       PR plugins/45348
+       PR plugins/48425
+       PR plugins/46577
+       * Makefile.in: Do not flatten c-family directory when installing
+       plugin headers.
+
+2011-07-25  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * ipa-inline.c (can_inline_edge_p): Look into DECL_STRUCT_FUNCTION of
+       original nodes if we are dealing with virtual clones.
+
+2011-07-25  Bernd Schmidt  <bernds@codesourcery.com>
+
+       * common/config/c6x/c6x-common.c: New file.
+
+2011-07-25  Roman Zhuykov  <zhroma@ispras.ru>
+
+       * tree-flow.h (tree_ssa_loop_version): Remove unused declaration.
+
+2011-07-25  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/49715
+       * tree-vrp.c: Include expr.h and optabs.h.
+       (range_fits_type_): New function.
+       (simplify_float_conversion_using_ranges): Likewise.
+       (simplify_stmt_using_ranges): Call it.
+       * Makefile.in (tree-vrp.o): Add $(EXPR_H) and $(OPTABS_H) dependencies.
+       * optabs.c (can_float_p): Export.
+       * optabs.h (can_float_p): Declare.
+
+2011-07-25  Richard Guenther  <rguenther@suse.de>
+
+       * tree-vrp.c (num_vr_values, values_propagated): New global vars.
+       (get_value_range): For out-of-range SSA names or names created
+       after propagation return a read-only varying range.
+       (dump_all_value_ranges): Adjust.
+       (vrp_initialize): Likewise.
+       (vrp_finalize): Likewise.
+
+2011-07-24  Richard Henderson  <rth@redhat.com>
+
+       PR debug/49831
+       * dwarf2cfi.c (connect_traces): Allow unvisited traces.  Skip
+       them entirely.
+
+2011-07-24  Richard Henderson  <rth@redhat.com>
+
+       PR debug/49825
+       * dwarf2cfi.c (dwarf2out_stack_adjust): Move A_O_A test earlier.
+       (dwarf2out_notice_stack_adjust): Use args_size from call_insn.
+
+2011-07-24  Richard Henderson  <rth@redhat.com>
+
+       PR debug/49827
+       * dwarf2cfi.c (create_trace_edges): Handle sequences properly.
+
+2011-07-24  Richard Henderson  <rth@redhat.com>
+
+       * dwarf2cfi.c (maybe_record_trace_start): Add abnormal parameter.
+       Zero args_size for abnormal edges.  Adjust all callers.
+
+2011-07-24  Richard Henderson  <rth@redhat.com>
+
+       PR debug/49825
+       * dwarf2cfi.c (cfi_row_equal_p): Don't compare args_size.
+
+2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR bootstrap/49835
+       * collect2.c (demangle_flag): Removed.
+
+2011-07-24  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * configure.ac (demangler_in_ld): Default to yes.
+       * configure: Regenerated.
+       * collect2.c (main): When HAVE_LD_DEMANGLE is defined, don't
+       mess with COLLECT_NO_DEMANGLE, and just pass --demangle and
+       --no-demangle options straight through to ld.  When
+       HAVE_LD_DEMANGLE is not defined, set COLLECT_NO_DEMANGLE in a
+       way that has the intended effect on Windows.
+
+2011-07-23  Richard Henderson  <rth@redhat.com>
+
+       * dwarf2cfi.c: Include basic-block.h.
+       (dw_label_info): Remove.
+       (trace_work_list, trace_index): New.
+       (remember_row, emit_cfa_remember): Remove.
+       (dw_trace_info_hash, dw_trace_info_eq): New.
+       (get_trace_index, get_trace_info): New.
+       (save_point_p): New.
+       (free_cfi_row): Remove.
+       (add_cfi): Do not emit DW_CFA_remember_state.
+       (cfa_row_equal_p): New.
+       (barrier_args_size): Remove.
+       (compute_barrier_args_size_1, compute_barrier_args_size): Remove.
+       (dwarf2out_notice_stack_adjust): Don't compute_barrier_args_size.
+       (maybe_record_trace_start, create_trace_edges, scan_trace): New.
+       (dwarf2out_cfi_begin_epilogue): Remove.
+       (dwarf2out_frame_debug_restore_state): Remove.
+       (connect_traces, create_pseudo_cfg): New.
+       (create_cfi_notes, execute_dwarf2_frame): Rewrite using traces.
+       * Makefile.in (dwarf2cfi.o): Update.
+
+2011-07-23  Richard Henderson  <rth@redhat.com>
+
+       * dwarf2cfi.c (dw_trace_info): New.
+       (dw_label_info): New.
+       (cie_return_save): New.
+       (cur_trace): New.
+       (queued_args_size): Rename from args_size.  Update all users.
+       (cfa_store, cfa_temp, regs_saved_in_regs): Remove.
+       (def_cfa_1): Use cur_trace instead of cfa_*.
+       (dwarf2out_stack_adjust, record_reg_saved_in_reg): Likewise.
+       (clobbers_queued_reg_save, reg_saved_in): Likewise.
+       (dwarf2out_frame_debug_expr): Likewise.
+       (create_cie_data): Split out from ...
+       (execute_dwarf2_frame): ... here.  Initialize cur_trace.
+
 2011-07-23  Richard Henderson  <rth@redhat.com>
 
        * dwarf2cfi.c (regs_saved_in_regs): Allocate from heap, not gc.