1. 06 Jul, 2011 19 commits
  2. 05 Jul, 2011 21 commits
    • libgcc/ · 9e7714f4
      	* config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
      	(i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
      	md_unwind_header by splitting out of...
      	(i[34567]86-*-linux*): ... this.
      	* config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
      	Remove md_unwind_header by splitting out of...
      	(x86_64-*-linux*): ... this.
      
      From-SVN: r175892
      Thomas Schwinge committed
    • re PR tree-optimization/49618 (When building uClibc with GCC 4.6.1 old_atexit is miscompiled) · f2c3a8ce
      	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.
      
      From-SVN: r175884
      Jakub Jelinek committed
    • pr44023.c: Add dg-require-effective-target int32plus · 49bf9170
      	* gcc.dg/pr44023.c: Add dg-require-effective-target int32plus
      	* gcc.dg/pr43402.c: Ditto.
      
      From-SVN: r175882
      Georg-Johann Lay committed
    • memory.c (internal_malloc_size): If size is zero, allocate a single byte. · a787f6f9
      2011-07-05  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	* runtime/memory.c (internal_malloc_size):  If size is zero,
      	allocate a single byte.
      	* m4/pack.m4 (pack_'rtype_code`):  Don't check for zero size
      	for the argument of internal_malloc_size.
      	* m4/spread.m4 (spread_'rtype_code`):  Likewise.
      	* m4/eoshift1.m4 (eoshift1):  Don't allocate twice.  Don't check
      	for zero size for the argument of internal_malloc_size.
      	* m4/eoshift3.m4: Don't check for zero size for the argument of
      	internal_malloc_size.
      	* intrinsics/pack_generic.c (pack_internal):  Likewise.
      	(pack_s_internal):  Likewise.
      	* intrinsics/cshift0.c (cshift0):  Likewise.
      	* intrinsics/spread_generic.c (spread_internal):  Likewise.
      	* intrinsics/eoshift0.c (eoshift0):  Likewise.
      	* intrinsics/eoshift2.c (eoshift2):  Likewise.
      	* generated/eoshift1_16.c: Regenerated.
      	* generated/eoshift1_4.c: Regenerated.
      	* generated/eoshift1_8.c: Regenerated.
      	* generated/eoshift3_16.c: Regenerated.
      	* generated/eoshift3_4.c: Regenerated.
      	* generated/eoshift3_8.c: Regenerated.
      	* generated/pack_c10.c: Regenerated.
      	* generated/pack_c16.c: Regenerated.
      	* generated/pack_c4.c: Regenerated.
      	* generated/pack_c8.c: Regenerated.
      	* generated/pack_i16.c: Regenerated.
      	* generated/pack_i1.c: Regenerated.
      	* generated/pack_i2.c: Regenerated.
      	* generated/pack_i4.c: Regenerated.
      	* generated/pack_i8.c: Regenerated.
      	* generated/pack_r10.c: Regenerated.
      	* generated/pack_r16.c: Regenerated.
      	* generated/pack_r4.c: Regenerated.
      	* generated/pack_r8.c: Regenerated.
      	* generated/spread_c10.c: Regenerated.
      	* generated/spread_c16.c: Regenerated.
      	* generated/spread_c4.c: Regenerated.
      	* generated/spread_c8.c: Regenerated.
      	* generated/spread_i16.c: Regenerated.
      	* generated/spread_i1.c: Regenerated.
      	* generated/spread_i2.c: Regenerated.
      	* generated/spread_i4.c: Regenerated.
      	* generated/spread_i8.c: Regenerated.
      	* generated/spread_r10.c: Regenerated.
      	* generated/spread_r16.c: Regenerated.
      	* generated/spread_r4.c: Regenerated.
      	* generated/spread_r8.c: Regenerated.
      
      From-SVN: r175880
      Thomas Koenig committed
    • Add --param case-values-threshold · 3aa439ed
      From-SVN: r175878
      Michael Meissner committed
    • * gcc.target/arm/pr42093.c: Use "-fno-reorder-blocks". · fb237f9c
      From-SVN: r175877
      Janis Johnson committed
    • dwarf2out: Remove unused text-based unwind entry points. · 49956667
      The dwarf2out_cfi_label function is privatized, the
      dwarf2out_def_cfa function is merged into its last user.
      The others really are unused.
      
              * 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.
      
      From-SVN: r175876
      Richard Henderson committed
    • ia64: Remove TARGET_DWARF_HANDLE_FRAME_UNSPEC hook. · c2b40eba
      Use an empty REG_FRAME_RELATED_EXPR instead.
      
              * 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.
      
      From-SVN: r175875
      Richard Henderson committed
    • ia64: Remove dead code in process_epilogue. · 7d3c6cd8
              * 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.
      
      From-SVN: r175874
      Richard Henderson committed
    • ia64: Use pc_rtx to save the return address. · 5f740973
      When actually emitting dwarf2, this now produces proper results.
      When emitting ia64 unwind info, this removes a hard-coded assumption.
      
              * config/ia64/ia64.c (ia64_expand_prologue): Use pc_rtx to
              indicate the return address save.
              (process_cfa_register): Likewise.
      
      From-SVN: r175873
      Richard Henderson committed
    • ia64: Remove ia64_dwarf2out_def_steady_cfa. · a1880147
      This defines nothing that we can't deduce already, so remove it.
      
              * config/ia64/ia64.c (ia64_dwarf2out_def_steady_cfa): Remove.
              (process_cfa_adjust_cfa, ia64_asm_unwind_emit): Don't call it.
      
      From-SVN: r175872
      Richard Henderson committed
    • ia64: Issue REG_CFA_REGISTER for ar.pfs at alloc insn. · 9f2ff8e5
              * config/ia64/ia64.c (ia64_expand_prologue): Emit REG_CFA_REGISTER
              for ar.pfs save at alloc insn.
      
      From-SVN: r175871
      Richard Henderson committed
    • arm: Use REG_CFA_REGISTER instead of UNSPEC_STACK_ALIGN. · ddc6e7d6
      This requires a bit of extra preparation in arm_unwind_emit, in
      order to handle the change for ARM unwinding.
      
              * 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.
      
      From-SVN: r175870
      Richard Henderson committed
    • vax: Emit prologue as rtl. · a3515605
      Not that there's much rtl to emit, since the CALL instruction
      interpreting the procedure entry mask does almost all the work.
      However, it means we're no longer emitting dwarf2 via the
      text-based entry points.
      
              * 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.
      
      From-SVN: r175869
      Richard Henderson committed
    • * g++.dg/rtti/anon-ns1.C: Allow for null-termination. · 96241349
      From-SVN: r175867
      Jason Merrill committed
    • Promote the function argument before checking non-legitimate constant. · a7adbbcb
      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.
      
      From-SVN: r175864
      H.J. Lu committed
    • Fix PR47654: Loop blocking should strip-mine at least two loops. · cec11ec4
      	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.
      
      	* gcc.dg/graphite/block-pr47654.c: New.
      
      From-SVN: r175861
      Sebastian Pop committed
    • Fix computation of precision. · 9b0d314a
      	* graphite-clast-to-gimple.c (precision_for_value): Removed.
      	(precision_for_interval): Removed.
      	(gcc_type_for_interval): Use mpz_sizeinbase.
      
      From-SVN: r175860
      Sebastian Pop committed
    • Correct computation of max. · 81d6d080
      	* graphite-ppl.h (value_max): Correct computation of max.
      
      From-SVN: r175859
      Sebastian Pop committed
    • Correct typo. · 369e3430
      	* graphite-clast-to-gimple.c (clast_name_to_index): Add missing space.
      
      From-SVN: r175858
      Sebastian Pop committed