1. 06 Mar, 2007 17 commits
    • m68k.h (PIC_OFFSET_TABLE_REGNUM): Use the REGNO of pic_offset_table_rtx if reload_completed. · 4ab870f5
      gcc/
      	* config/m68k/m68k.h (PIC_OFFSET_TABLE_REGNUM): Use the REGNO
      	of pic_offset_table_rtx if reload_completed.
      	(CONDITIONAL_REGISTER_USAGE): Use PIC_REG instead of
      	PIC_OFFSET_TABLE_REGNUM.
      	* config/m68k/m68k.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Always
      	return true.
      	(m68k_save_reg): Use PIC_REG instead of PIC_OFFSET_TABLE_REGNO.
      	(m68k_output_mi_thunk): Rewrite to use RTL.  Honor vcall_offset.
      
      From-SVN: r122612
      Richard Sandiford committed
    • m68k.c (m68k_save_reg): Save the PIC register in functions that call eh_return. · afcb440c
      gcc/
      	* config/m68k/m68k.c (m68k_save_reg): Save the PIC register in
      	functions that call eh_return.
      
      From-SVN: r122611
      Richard Sandiford committed
    • m68k.c (m68k_save_reg): Save the PIC register in functions that need a constant pool. · 6357eb0d
      gcc/
      	* config/m68k/m68k.c (m68k_save_reg): Save the PIC register in
      	functions that need a constant pool.
      
      From-SVN: r122610
      Richard Sandiford committed
    • re PR target/28181 (ICE in reload_cse_simplify_operands, at postreload.c:393 on m68k) · ffa2596e
      gcc/
      	PR target/28181
      	* config/m68k/m68k-protos.h (m68k_secondary_reload_class): Declare.
      	(m68k_preferred_reload_class): Likewise.
      	* config/m68k/m68k.h (HARD_REGNO_MODE_OK): Remove duplicated comment.
      	(SECONDARY_RELOAD_CLASS): Define.
      	(PREFERRED_RELOAD_CLASS): Use m68k_preferred_reload_class.
      	(LIMIT_RELOAD_CLASS): Delete.
      	* config/m68k/m68k.c (m68k_regno_mode_ok): Don't prevent address
      	registers from storing bytes.
      	(m68k_secondary_reload_class): New function.
      	(m68k_preferred_reload_class): Likewise.
      
      gcc/testsuite/
      	* gcc.c-torture/compile/m68k-byte-addr.c: New test.
      
      From-SVN: r122609
      Richard Sandiford committed
    • m68k.c (m68k_save_reg): Remove special case for leaf functions. · 4f44ecc0
      gcc/
      	* config/m68k/m68k.c (m68k_save_reg): Remove special case for
      	leaf functions.
      	(m68k_expand_prologue): Likewise.
      
      From-SVN: r122608
      Richard Sandiford committed
    • m68k-protos.h (output_sibcall): Declare. · f7e70894
      gcc/
      	* config/m68k/m68k-protos.h (output_sibcall): Declare.
      	(mips_expand_epilogue): Add a bool parameter.
      	(m68k_legitimize_sibcall_address): Declare.
      	* config/m68k/m68k.c (TARGET_FUNCTION_OK_FOR_SIBCALL): Define.
      	(m68k_expand_epilogue): Add a parameter to select between sibling
      	and normal epilogues.  Only generate a return for the latter.
      	(m68k_ok_for_sibcall_p): New function.
      	(m68k_legitimize_sibcall_address, output_sibcall): New functions.
      	* config/m68k/m68k.md (sibcall, *sibcall): New patterns.
      	(sibcall_value, *sibcall_value): Likewise.
      	(*call, *call_value): Require !SIBLING_CALL_P.
      	(epilogue): Update call to m68k_expand_epilogue.
      	(sibcall_epilogue): New pattern.
      	* config/m68k/predicates.md (const_call_operand): Say that this
      	predicate applies to sibling calls too.
      	(sibcall_operand): New predicate.
      
      From-SVN: r122607
      Richard Sandiford committed
    • m68k.md (movsf_cf_soft): Provide the same non-mov3q alternatives as movsi_cf. · 31c5b444
      gcc/
      	* config/m68k/m68k.md (movsf_cf_soft): Provide the same non-mov3q
      	alternatives as movsi_cf.
      	(movsf_cf_hard): Add commentary.
      
      From-SVN: r122606
      Richard Sandiford committed
    • 200x-xx-xx Kazu Hirata <kazu@codesourcery.com> Richard Sandiford <richard@codesourcery.com> · a40ed0f3
      gcc/
      200x-xx-xx  Kazu Hirata  <kazu@codesourcery.com>
      	    Richard Sandiford  <richard@codesourcery.com>
      
      	* config/m68k/m68k-protos.h (m68k_interrupt_function_p): Declare.
      	(m68k_movem_pattern_p, m68k_output_movem): Likewise.
      	(m68k_expand_prologue, m68k_expand_epilogue): Likewise.
      	* config/m68k/m68k.h (EPILOGUE_USES): Define.  Treat all registers
      	as being live on exit from an interrupt function.
      	(PRINT_OPERAND_PUNCT_VALID_P): Return true for '?'.
      	* config/m68k/m68k.c (MIN_MOVEM_REGS, MIN_FMOVEM_REGS): New macros.
      	(m68k_frame): Remove reg_rev_mask and fpu_rev_mask.
      	(TARGET_ASM_FUNCTION_PROLOGUE, TARGET_ASM_FUNCTION_EPILOGUE): Delete.
      	(m68k_interrupt_function_p): Globalize.
      	(m68k_compute_frame_layout): Remove reverse mask code.
      	(m68k_emit_movem, m68k_set_frame_related): New functions.
      	(m68k_output_function_prologue): Delete in favor of...
      	(m68k_expand_prologue): ...this new function.
      	(m68k_output_function_epilogue): Delete in favor of...
      	(m68k_expand_epilogue): ...this new function.
      	(m68k_split_offset, m68k_movem_pattern_p, m68k_output_movem): New
      	functions.
      	(print_operand): Handle %?.
      	* config/m68k/m68k.md (UNSPEC_SIN, UNSPEC_COS): Remove excess space.
      	(UNSPEC_GOT, A1_REG, PIC_REG, FP0_REG): New constants.
      	(prologue, epilogue): New patterns.
      	(return): Turn into a define_expand.
      	(*return): New pattern, derived from old "return" pattern.  Use rte
      	rather than rts for interrupt functions.  Only use rtd if the pop
      	count is nonzero.
      	(*m68k_store_multiple, *m68k_store_multiple_automod): New patterns.
      	(*m68k_load_multiple, *m68k_load_multiple_automod): Likewise.
      	(link, *link, unlink, *unlink, load_got): Likewise.
      
      Co-Authored-By: Richard Sandiford <richard@codesourcery.com>
      
      From-SVN: r122605
      Kazu Hirata committed
    • re PR target/23482 ([ColdFire] ICE in in final_scan_insn) · fc2241eb
      gcc/
      	PR target/23482
      	PR target/17114
      	* config/m68k/m68k-protos.h (m68k_legitimate_base_reg_p): Declare.
      	(m68k_legitimate_index_reg_p, m68k_legitimate_address_p): Likewise.
      	(m68k_matches_q_p, m68k_matches_u_p): Likewise.
      	* config/m68k/m68k.h (EXTRA_CONSTRAINT): Use m68k_matches_q_p
      	and m68k_matches_u_p.
      	(PCREL_GENERAL_OPERAND_OK, LEGITIMATE_BASE_REG_P): Delete.
      	(INDIRECTABLE_1_ADDRESS_P, GO_IF_NONINDEXED_ADDRESS): Delete.
      	(GO_IF_INDEXABLE_BASE, GO_IF_INDEXING, GO_IF_INDEXED_ADDRESS): Delete.
      	(LEGITIMATE_INDEX_REG_P, LEGITIMATE_INDEX_P): Delete.
      	(GO_IF_COLDFIRE_FPU_LEGITIMATE_ADDRESS): Delete.
      	(REG_STRICT_P): New macro.
      	(LEGITIMATE_PIC_OPERAND_P): Use REG_STRICT_P rather than
      	PCREL_GENERAL_OPERAND_OK.
      	(REG_OK_FOR_BASE_P): Merge definitions.  Use REG_STRICT_P and
      	m68k_legitimate_base_reg_p.
      	(REG_MODE_OK_FOR_INDEX_P): Likewise m68k_legitimate_index_reg_p.
      	(GO_IF_LEGITIMATE_ADDRESS): Likewise m68k_legitimate_address_p.
      	(PIC_CASE_VECTOR_ADDRESS): Update comment.
      	* config/m68k/m68k.c (m68k_address): New structure.
      	(m68k_legitimate_base_reg_p, m68k_legitimate_index_reg_p)
      	(m68k_decompose_index, m68k_legitimate_constant_address_p)
      	(m68k_jump_table_ref_p, m68k_decompose_address)
      	(m68k_legitimate_address_p, m68k_legitimate_mem_p, m68k_matches_q_p)
      	(m68k_matches_u_p): New functions.
      	(print_operand_address): Rewrite to use m68k_decompose_index.
      
      From-SVN: r122604
      Richard Sandiford committed
    • * gfortran.texi (GFortran and G77): Rewrite completely. · 4b4eb648
      From-SVN: r122602
      Brooks Moses committed
    • * match.c (gfc_match_name): Expanded comment. · 090021e9
      From-SVN: r122601
      Brooks Moses committed
    • gfortran.texi (Old-style kind specifications): Document special handling of… · b2b81a3f
      gfortran.texi (Old-style kind specifications): Document special handling of old-style kind specifiers for COMPLEX.
      
      * gfortran.texi (Old-style kind specifications): Document
      special handling of old-style kind specifiers for COMPLEX.
      * decl.c (gfc_match_old_kind_spec): Document kind/bytesize
      assumptions for COMPLEX in comment.
      
      From-SVN: r122599
      Brooks Moses committed
    • re PR other/31050 ([4.1] gcc --version reports wrong year.) · 676a7884
      PR 31050
      * gfortranspec.c (lang_specific_driver): Update program
      name and copyright date.
      
      From-SVN: r122597
      Brooks Moses committed
    • 2007/03/05 David Taylor <dtaylor@emc.com> · 9e8f6959
      2007/03/05  David Taylor  <dtaylor@emc.com>
      * gcc.c: Correct copyright date in --version output.
      
      From-SVN: r122596
      David Taylor committed
    • pa.md: In unamed move patterns... · 50f9c211
      	* pa.md: In unamed move patterns, disparge copies between general
      	and floating point registers using '?' modifier.  Don't include 'f'
      	constraint for register preferences in DImode, SImode, HImode and
      	QImode patterns.  Likewise for 'r' in DFmode and SFmode patterns.
      	Remove constraints for copies between general and floating registers
      	in soft-float DFmode pattern.
      	(movdf): Fail if operand1 is a CONST_DOUBLE and operand0 is a hard
      	floating register.
      	(movsf): Likewise.
      
      From-SVN: r122593
      John David Anglin committed
    • c-common.c (targetcm): Add. · 1f1d5130
      	* c-common.c (targetcm): Add.   
      	* c-opts.c (c_common_handle_option): Handle language specific
      	target options.
      	* opts.c (handle_option): Verify language for target options, if
      	any are given.
      	* opth-gen.awk: Add CL_LANG_ALL.
      	* target-def.h (TARGET_HANDLE_C_OPTION): Add.
      	(TARGETCM_INITIALIZER): Add.
      	* target.h (struct gcc_targetcm): Add.
      	(targetcm): Add.
      	* targhooks.c (default_handle_c_option): Add.
      	* targhooks.h (default_handle_c_option): Add.
      	* doc/tm.texi (TARGET_HANDLE_C_OPTION): Add.
      
      	* config/darwin.opt (iframework): Add.
      	* config/darwin.h (TARGET_HAS_TARGETCM): Add.
      	* config/darwin-c.c (handle_c_option): Add.
      	(TARGET_HANDLE_C_OPTION): Add.
      	(targetcm): Add.
      	* doc/invoke.texi (Darwin Options): Add -iframework.
      
      From-SVN: r122590
      Mike Stump committed
    • Daily bump. · 20114127
      From-SVN: r122587
      GCC Administrator committed
  2. 05 Mar, 2007 23 commits