1. 10 Oct, 2009 16 commits
  2. 09 Oct, 2009 19 commits
  3. 08 Oct, 2009 5 commits
    • re PR rtl-optimization/41574 (Distribute floating point expressions causes bad code [4.4 only]) · 88beb54d
      2009-10-08  Doug Kwan  <dougkwan@google.com>
      
      	PR rtl-optimization/41574
      	* gcc.dg/pr41574.c: New test.
      
      From-SVN: r152580
      Doug Kwan committed
    • lto-elf.c (init_shdr##BITS, [...]): Remove trailing "." from diagnostics. · 3c2e7d45
      	* lto-elf.c (init_shdr##BITS, lto_elf_begin_section_with_type,
      	init_ehdr##BITS, lto_elf_file_close): Remove trailing "." from
      	diagnostics.
      	* lto-lang.c (lto_post_options): Remove trailing "." from
      	diagnostics.
      
      From-SVN: r152579
      Joseph Myers committed
    • * gcc.c (main): Remove trailing "." from diagnostics. · 23cd46a1
      From-SVN: r152578
      Joseph Myers committed
    • Add support for debugging with ICF (Identical Code Folding). · 77831620
      gcc/ChangeLog:
      	Add support for debugging with ICF (Identical Code Folding).
      	* calls.c (debug.h): New #include.
      	(emit_call_1): Call virtual_call_token debug hook.
      	* common.opt (-fenable-icf-debug): New option.
      	* dwarf2out.c (dwarf2_debug_hooks): Add entries for new hooks (two
      	locations in the source).
      	(poc_label_num): New variable.
      	(dcall_entry, vcall_entry): New typedefs.
      	(dcall_table, vcall_table): New variables.
      	(struct vcall_insn): New type.
      	(vcall_insn_table): New variable.
      	(DEBUG_DCALL_SECTION, DEBUG_VCALL_SECTION): New macros.
      	(size_of_dcall_table): New function.
      	(output_dcall_table): New function.
      	(size_of_vcall_table): New function.
      	(output_vcall_table): New function.
      	(dwarf2out_direct_call): New function.
      	(vcall_insn_table_hash): New function.
      	(vcall_insn_table_eq): New function.
      	(dwarf2out_virtual_call_token): New function.
      	(dwarf2out_virtual_call): New function.
      	(dwarf2out_init): Allocate new tables and sections.
      	(prune_unused_types): Mark DIEs referenced from direct call table.
      	(dwarf2out_finish): Output direct and virtual call tables.
      	* final.c (final_scan_insn): Call direct_call and virtual_call
      	debug hooks.
      	* debug.h (struct gcc_debug_hooks): Add direct_call,
      	virtual_call_token, virtual_call hooks.
      	(debug_nothing_uid): New function.
      	* debug.c (do_nothing_debug_hooks): Add dummy entries for new hooks.
      	(debug_nothing_uid): New function.
      	* dbxout.c (dbx_debug_hooks): Add dummy entries for new hooks.
      	* sdbout.c (sdb_debug_hooks): Likewise.
      	* vmsdbgout.c (vmsdbg_debug_hooks): Likewise.
      	* doc/invoke.texi (-fenable-icf-debug): New option.
      
      gcc/testsuite/ChangeLog:
      	Add support for debugging with ICF (Identical Code Folding).
      	* g++.dg/debug/dwarf2/icf.C: New test.
      
      From-SVN: r152577
      Cary Coutant committed
    • re PR debug/41353 (VTA missed-debug issues) · 968e5728
      PR debug/41353
      * regmove.c (regmove_backward_pass): Replace src with dst in the
      debug insn, and check for dst before rather than after.
      
      From-SVN: r152573
      Alexandre Oliva committed