OSDN Git Service

* df-core.c (df_ref_debug): Honor -fdump-noaddr.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 86882e5..9bdc1d2 100644 (file)
@@ -1,3 +1,108 @@
+2009-06-02  Alexandre Oliva  <aoliva@redhat.com>
+
+       * df-core.c (df_ref_debug): Honor -fdump-noaddr.
+
+2009-06-02  Alexandre Oliva  <aoliva@redhat.com>
+
+       * combine.c (move_deaths): Compare LUIDs within the same BB only.
+
+2009-06-02  Alexandre Oliva  <aoliva@redhat.com>
+
+       * common.opt (fdump-unnumbered-links): New.
+       * doc/invoke.texi (-fdump-unnumbered-links): Document it.
+       * print-rtl.c (flag_dump_unnumbered_links): New.
+       (print_rtx): Test it.
+
+2009-06-02  Richard Earnshaw  <rearnsha@arm.com>
+
+       * arm.c (arm_get_frame_offsets): Prefer using r3 for padding a
+       push/pop multiple to 8-byte alignment.
+       
+2009-06-01  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/i386/i386.c (queued_cfa_restores): New static variable.
+       (ix86_add_cfa_restore_note, ix86_add_queued_cfa_restore_notes): New
+       functions.
+       (pro_epilogue_adjust_stack): Call ix86_add_queued_cfa_restore_notes.
+       (ix86_emit_restore_reg_using_pop): Add RED_OFFSET argument.
+       Set RTX_FRAME_RELATED_P immediately after adding a REG_CFA_* note.
+       Call ix86_add_cfa_restore_note instead of adding REG_CFA_OFFSET
+       note unconditionally.
+       (ix86_emit_restore_regs_using_mov): Likewise.
+       (ix86_emit_restore_sse_regs_using_mov): Likewise.
+       (ix86_emit_restore_regs_using_pop): Add RED_OFFSET argument, pass
+       it through to ix86_emit_restore_reg_using_pop.
+       (ix86_emit_leave): Add RED_OFFSET argument.  Call
+       ix86_add_queued_cfa_restore_notes.  Call ix86_add_cfa_restore_note
+       instead of adding REG_CFA_OFFSET note unconditionally.
+       (ix86_expand_epilogue): Compute RED_OFFSET, pass it down to
+       the above functions.  Call ix86_add_queued_cfa_restore_notes when
+       needed.
+
+       * dwarf2out.c (dwarf2out_cfi_label): Add FORCE argument, if true,
+       force output of the label even for dwarf2out_do_cfi_asm.
+       (add_fde_cfi): If -g2 and above and cfi might change CFA,
+       force creation of CFI label and chain DW_CFA_set_loc jumping to it
+       for convert_cfa_to_fb_loc_list.  Adjust other dwarf2out_cfi_label
+       caller.
+       (dwarf2out_stack_adjust, dwarf2out_frame_debug,
+       dwarf2out_begin_epilogue, dwarf2out_frame_debug_restore_state): Adjust
+       dwarf2out_cfi_label callers.
+       * tree.h (dwarf2out_cfi_label): Adjust prototype.
+       * config/arm/arm.c (thumb_pushpop, thumb1_output_function_prologue):
+       Adjust dwarf2out_cfi_label callers.
+       * config/vax/vax.c (vax_output_function_prologue): Likewise.
+
+       * config/i386/i386.h (struct machine_cfa_state,
+       struct machine_function): Guard with ifndef USED_FOR_TARGET
+       instead of not IN_LIBGCC2 and not in IN_TARGET_LIBS.
+
+       PR other/40024
+       * emutls.c (__emutls_get_address): Change arr->size to mean number
+       of allocated arr->data entries instead of # of slots + 1.
+
+       PR middle-end/40316
+       * recog.c (peep2_reinit_state): New function.
+       (peephole2_init_state): Use it at the end of a basic block and also
+       when seeing a RTX_FRAME_RELATED_P insn.
+
+2009-06-01  Steve Ellcey  <sje@cup.hp.com>
+
+       * ia64.md (floatdirf2, fix_truncrfdi, floatunsdirf,
+       fixuns_truncrfdi2): New.
+       (fix_truncxfdi2_alts, fixuns_truncxfdi2_alts,
+       *nmaddsf4_alts, *nmadddf4_alts, *nmadddf4_truncsf_alts,
+       *mulxf3_alts, *mulxf3_truncsf_alts, *mulxf3_truncdf_alts,
+       *maddxf4_alts, *maddxf4_alts_truncsf, *maddxf4_alts_truncdf,
+       *nmaddxf4_alts, *nmaddxf4_truncsf_alts, *nmaddxf4_truncdf_alts,
+       *recip_approx): Remove.
+       (divsi3 modsi3, udivsi3, umodsi3, divsi3_internal, divdi3,
+       moddi3, udivdi3, umoddi3, divdi3_internal_lat, divdi3_internal_thr,
+       divsf3, sqrtsf2, divdf3, sqrtdf2, divxf3, sqrtxf2): Modify and
+       move to div.md.
+       * div.md (fix_truncrfdi2_alts, fixuns_truncrfdi2_alt,
+       setf_exp_rf): New.
+
+2009-06-01  Ian Lance Taylor  <iant@google.com>
+
+       * attribs.c (register_attribute): Use CONST_CAST.
+       * collect2.c (main): Use CONST_CAST2.
+       (scan_prog_file): Likewise.
+       * gcc.c (process_command, main): Likewise.
+       * toplev.c (toplev_main): Likewise.
+
+       * c-typeck.c (handle_warn_cast_qual): New static function,
+       partially broken out of build_c_cast.
+       (build_c_cast): Call handle_warn_cast_qual.
+       * doc/invoke.texi (Warning Options): Document new effect of
+       -Wcast-qual.
+
+2009-06-01  Aldy Hernandez  <aldyh@redhat.com>
+
+       * diagnostic.c (diagnostic_build_prefix): Always print columns.
+       (diagnostic_report_current_module): Print columns.
+       * common.opt (flag_show_column): Enable by default.
+
 2009-06-01  Luis Machado  <luisgpm@br.ibm.com>
 
        * alias.c (find_base_term): Check for NULL term before returning.