1. 12 Sep, 2012 1 commit
  2. 17 Aug, 2012 1 commit
    • Convert MEMBER_TYPE_FORCES_BLK to target hook · d9886a9e
      	* stor-layout.c (compute_record_mode): Replace
      	MEMBER_TYPE_FORCES_BLK with targetm.member_type_forces_blk.
      	(layout_type): Likewise.
      
      	* system.h: Poison MEMBER_TYPE_FORCES_BLK.
      
      	* target.def (member_type_forces_blk): New target hook.
      
      	* targhooks.c (default_member_type_forces_blk): New.
      	* targhooks.h (default_member_type_forces_blk): Likewise.
      
      	* doc/tm.texi.in (MEMBER_TYPE_FORCES_BLK): Removed.
      	(TARGET_MEMBER_TYPE_FORCES_BLK): New hook.
      	* doc/tm.texi: Regenerated.
      
      	* config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Removed.
      
      	* config/ia64/ia64.c (ia64_member_type_forces_blk): New
      	function.
      	(TARGET_MEMBER_TYPE_FORCES_BLK): New macro.
      
      	* config/rs6000/rs6000.c (TARGET_MEMBER_TYPE_FORCES_BLK): New
      	macro.
      	(rs6000_member_type_forces_blk): New function.
      
      	* config/rs6000/rs6000.h (MEMBER_TYPE_FORCES_BLK): Removed.
      
      	* config/xtensa/xtensa.c (xtensa_member_type_forces_blk): New
      	function.
      	(TARGET_MEMBER_TYPE_FORCES_BLK): New macro.
      
      	* config/xtensa/xtensa.h (MEMBER_TYPE_FORCES_BLK): Removed.
      
      From-SVN: r190488
      H.J. Lu committed
  3. 16 Aug, 2012 2 commits
  4. 31 Jul, 2012 1 commit
    • defaults.h (GO_IF_MODE_DEPENDENT_ADDRESS): Delete. · b0f6b612
      	* defaults.h (GO_IF_MODE_DEPENDENT_ADDRESS): Delete.
      	* targhooks.c (default_mode_dependent_address_p): Delete code
      	for GO_IF_MODE_DEPENDENT_ADDRESS.
      	* system.h (GO_IF_MODE_DEPENDENT_ADDRESS): Poison.
      	* doc/tm.texi.in (GO_IF_MODE_DEPENDENT_ADDRESS): Delete documention.
      	* doc/tm.texi: Regenerate.
      	* config/alpha.h (GO_IF_MODE_DEPENDENT_ADDRESS): Move code to...
      	* config/alpha.c (alpha_mode_dependent_address_p): ...here.  New
      	function.
      	(TARGET_MODE_DEPENDENT_ADDRESS_P): Define.
      	* config/cr16/cr16.h (GO_IF_MODE_DEPENDENT_ADDRESS): Delete.
      	* config/mep/mep.h (GO_IF_MODE_DEPENDENT_ADDRESS): Delete.
      	* config/vax/vax-protos.h (vax_mode_dependent_address_p): Delete.
      	* config/vax/vax.h (GO_IF_MODE_DEPENDENT_ADDRESS): Delete.
      	* config/vax/vax.c (vax_mode_dependent_address_p): Make static.
      	Take a const_rtx.
      	(TARGET_MODE_DEPENDENT_ADDRESS_P): Define.
      
      From-SVN: r189995
      Nathan Froyd committed
  5. 24 Jul, 2012 1 commit
  6. 16 Jul, 2012 1 commit
    • system.h (dump_file): Do not define. · 7ee2468b
      gcc/
      	* system.h (dump_file): Do not define.
      	* tree-pass.h: Include dumpfile.h, which is a new file containing...
      	(enum tree_dump_index, TDF_*, get_dump_file_name, dump_enabled_p,
      	dump_initialized_p, dump_begin, dump_end, dump_node, dump_switch_p,
      	dump_flag_name, dump_file, dump_flags, dump_file_name,
      	get_dump_file_info, struct dump_file_info): all of this, moved to...
      	* dumpfile.h: Here, new file.
      	* tree-dump.h: Include dumpfile.h, but not tree-pass.h.
      	(dump_stmt): Remove prototype for C++ specific function.
      	(dump_enumerated_decls): Move prototype from here...
      	* tree-flow.h (dump_enumerated_decls): ... to here.
      	(get_ref_base_and_extent) Move prototype from here ...
      	* tree.h (get_ref_base_and_extent) ... to here.
      	* tree-ssa-live.c: Do not inclde tree-pretty-print.h, because
      	gimple-pretty-print.h is enough.  Do not include tree-dump.h,
      	include timevar.h and dumpfile.h instead.
      	(struct numbered_tree_d, compare_decls_by_uid,
      	dump_enumerated_decls_push, dump_enumerated_decls): Move from here ...
      	* tree-dfa.c:(struct numbered_tree_d, compare_decls_by_uid,
      	dump_enumerated_decls_push, dump_enumerated_decls):... to here.
      	Do not include timevar.h.
      	* tree.c: Do not include timevar.h.
      	* tree-cfg.c: Do not include langhooks.h, tree-pretty-print.h, and
      	timevar.h.
      	(dump_cfg_stats): Use current_function_name.
      	(gimple_cfg2vcg): Likewise.
      	(dump_function_to_file): Likewise.
      	* df-scan.c: Do not include tree-pass.h and timevar.h.
      	Include dumpfile.h.
      	(df_entry_block_bitmap_verify, df_exit_block_bitmap_verify): Do not
      	use print_current_pass.
      	* df-problems.c: Include dumpfile.h.
      	Always define REG_DEAD_DEBUGGING, avoid #ifdef code, because it
      	leads to errors in the code not selected.
      	(df_note_compute): Do not print_rtl_with_bb here.  Fix compilation
      	bug if REG_DEAD_DEBUGGING is not 0, get_insns is not available here.
      	* lcm.c: Include dumpfile.h.
      	Remove obsolete include of insn-attr.h.
      	* dojump.c (do_compare_rtx_and_jump): Remove failure printing for
      	missing probability notes.
      	* stmt.c: Include dumpfile.h.
      	(emit_case_decision_tree): Re-enable printing expand details only
      	if TDF_DETAILS.
      	* alias.c, auto-inc-dec.c, bb-reorder.c, caller-save.c, cfg.c, 
      	cfgcleanup.c, cfgexpand.c, cfgloop.c, cfgloopmanip.c, cgraph.c, 
      	cgraphclones.c, cgraphunit.c, combine.c, combine-stack-adj.c, 
      	coverage.c, cprop.c, cse.c, cselib.c, dbgcnt.c, dce.c, df-core.c, 
      	dse.c, dwarf2out.c, emit-rtl.c, except.c, expr.c, final.c, 
      	function.c, fwprop.c, gcse.c, gimple-fold.c, 
      	gimple-pretty-print.c, gimple-ssa-strength-reduction.c, 
      	gimplify.c, graphite-blocking.c, graphite-clast-to-gimple.c, 
      	graphite-dependences.c, graphite-interchange.c, 
      	graphite-optimize-isl.c, graphite-poly.c, 
      	graphite-sese-to-poly.c, haifa-sched.c, hw-doloop.c, ifcvt.c, 
      	ipa.c, ipa-cp.c, ipa-inline-analysis.c, ipa-inline.c, 
      	ipa-inline-transform.c, ipa-prop.c, ipa-pure-const.c, 
      	ipa-reference.c, ipa-split.c, ipa-utils.c, ira.c, ira-emit.c, 
      	jump.c, loop-doloop.c, loop-init.c, loop-invariant.c, loop-iv.c, 
      	loop-unroll.c, loop-unswitch.c, lower-subreg.c, 
      	lto-section-out.c, lto-streamer-in.c, matrix-reorg.c, mcf.c, 
      	mode-switching.c, modulo-sched.c, omega.c, omp-low.c, passes.c, 
      	plugin.c, postreload.c, postreload-gcse.c, predict.c, print-rtl.c, 
      	print-tree.c, profile.c, recog.c, ree.c, regcprop.c, reginfo.c, 
      	regmove.c, regrename.c, reg-stack.c, reload1.c, reorg.c, 
      	sched-rgn.c, sched-vis.c, sel-sched.c, sel-sched-ir.c, 
      	store-motion.c, tracer.c, trans-mem.c, tree-affine.c, 
      	tree-call-cdce.c, tree-cfgcleanup.c, tree-chrec.c, 
      	tree-data-ref.c, tree-diagnostic.c, tree-dump.c,
      	tree-eh.c, tree-flow-inline.h, tree-if-conv.c, tree-into-ssa.c, 
      	tree-mudflap.c, tree-nrv.c, tree-object-size.c, 
      	tree-optimize.c, tree-outof-ssa.c, tree-predcom.c, 
      	tree-pretty-print.c, tree-profile.c, tree-scalar-evolution.c, 
      	tree-sra.c, tree-ssa-address.c, tree-ssa-alias.c, tree-ssa.c, 
      	tree-ssa-ccp.c, tree-ssa-coalesce.c, tree-ssa-copy.c, 
      	tree-ssa-copyrename.c,, tree-ssa-dce.c, tree-ssa-dom.c, 
      	tree-ssa-dse.c, tree-ssa-forwprop.c, tree-ssa-ifcombine.c, 
      	tree-ssa-loop.c, tree-ssa-loop-ch.c, tree-ssa-loop-im.c, 
      	tree-ssa-loop-ivcanon.c, tree-ssa-loop-ivopts.c, 
      	tree-ssa-loop-manip.c, tree-ssa-loop-niter.c, 
      	tree-ssa-loop-prefetch.c, tree-ssa-loop-unswitch.c, 
      	tree-ssa-math-opts.c, tree-ssa-operands.c, tree-ssa-phiopt.c, 
      	tree-ssa-phiprop.c, tree-ssa-pre.c, tree-ssa-propagate.c, 
      	tree-ssa-reassoc.c, tree-ssa-sccvn.c, tree-ssa-sink.c, 
      	tree-ssa-structalias.c, tree-ssa-tail-merge.c, tree-ssa-ter.c, 
      	tree-ssa-threadedge.c, tree-ssa-threadupdate.c, 
      	tree-ssa-uncprop.c, tree-ssa-uninit.c, 
      	tree-switch-conversion.c, tree-tailcall.c, 
      	tree-vect-data-refs.c, tree-vect-loop.c, 
      	tree-vect-loop-manip.c, tree-vectorizer.c, 
      	tree-vect-patterns.c, tree-vect-slp.c, tree-vect-stmts.c, 
      	tree-vrp.c, value-prof.c, var-tracking.c, web.c: Include tree-pass.h
      	only if needed.  If tree-pass.h is included, do not include timevar.h
      	and dumpfile.h.  If tree-pass.h is not included but dump_file, or
      	dump_flags, or the TDF_* flags are used, include dumpfile.h.
      	If gimple-pretty-print.h is included, don't include tree-pretty-print.h.
      	Remove assorted unnecessary includes.
      
      	* config/mn10300/mn10300.c, config/c6x/c6x.c, config/ia64/ia64.c,
      	config/arm/arm.c, config/bfin/bfin.c, config/frv/frv.c,
      	config/spu/spu.c, config/mep/mep.c, config/i386/i386.c:
      	Include dumpfile.h.
      	* config/rl78/rl78.c: Include dumpfile.h instead of tree-pass.h.
      	* arm/t-arm, avr/t-avr, i386/t-i386, ia64/t-ia64, mep/t-mep,
      	spu/t-spu-elf: Fix dependencies.
      
      c-family/
      	* c-gimplify.c: Include dumpfile.h instead of tree-dump.h.
      	* c-ada-spec.c: Likewise.
      	* c-dump.c (dump_stmt): Move to cp/dump.c, the only user.
      
      c/
      	* c-decl.c: Include dumpfile.h instead of tree-dump.h.
      	* Make-lang.in: Fix dependencies.
      
      cp/
      	* dump.c (dump_stmt): Moved here from c-dump.c.
      	* optimize.c: Include dumpfile.h instead of tree-dump.h.
      	* class.c: Likewise.
      	* decl2.c: Likewise.
      	* Make-lang.in: Fix dependencies.
      
      fortran/
      	* f95-lang.c: Include dumpfile.h instead of tree-dump.h.
      	* Make-lang.in: Fix dependencies.
      
      java/
      	* java-gimplify.c Include dumpfile.h instead of tree-dump.h
      	* Make-lang.in: Fix dependencies.
      
      lto/
      	* lto.c: Do not include timevar.h.
      	* Make-lang.in: Fix dependencies.
      
      ada/
      	* gcc-interface/utils.c: Include timevar.h.
      	* Make-lang.in: Fix dependencies.
      
      From-SVN: r189519
      Steven Bosscher committed
  7. 10 Jul, 2012 1 commit
    • Zap now unused builtin_mul_widen_even/odd target hooks · 30a7bac9
              * target.def (builtin_mul_widen_even, builtin_mul_widen_odd): Remove.
              * system.h (TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_EVEN): Poison.
              (TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_ODD): Poison.
              * config/i386/i386.c (IX86_BUILTIN_VEC_WIDEN_SMUL_ODD_V4SI): Remove.
              (IX86_BUILTIN_VEC_WIDEN_SMUL_ODD_V8SI): Remove.
              (IX86_BUILTIN_VEC_WIDEN_UMUL_ODD_V4SI): Remove.
              (IX86_BUILTIN_VEC_WIDEN_UMUL_ODD_V8SI): Remove.
              (IX86_BUILTIN_VEC_WIDEN_SMUL_EVEN_V4SI): Remove.
              (IX86_BUILTIN_VEC_WIDEN_UMUL_EVEN_V4SI): Remove.
              (IX86_BUILTIN_VEC_WIDEN_UMUL_EVEN_V8SI): Remove.
              (bdesc_args): Remove entries to match.
              (ix86_builtin_mul_widen_even, ix86_builtin_mul_widen_odd): Remove.
              (TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_EVEN): Remove.
              (TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_ODD): Remove.
              * config/rs6000/rs6000.c (rs6000_builtin_mul_widen_even): Remove.
              (rs6000_builtin_mul_widen_odd): Remove.
              (TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_EVEN): Remove.
              (TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_ODD): Remove.
              * config/spu/spu.c (spu_builtin_mul_widen_even): Remove.
              (spu_builtin_mul_widen_odd): Remove.
              (TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_EVEN): Remove.
              (TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_ODD): Remove.
              * doc/tm.texi.in: Don't document the removed hooks.
      
      From-SVN: r189409
      Richard Henderson committed
  8. 29 Jun, 2012 2 commits
    • system.h (CASE_USE_BIT_TESTS): Poison. · cc193fba
      	* system.h (CASE_USE_BIT_TESTS): Poison.
      	* stmt.c (CASE_USE_BIT_TESTS): Fold away into its only user ...
      	(expand_switch_using_bit_tests_p): ...here.
      	* doc/tm.texi.in (CASE_USE_BIT_TESTS): Remove documentation.
      	* doc/tm.texi (CASE_USE_BIT_TESTS): Regenerate.
      
      From-SVN: r189078
      Steven Bosscher committed
    • system.h (IFCVT_EXTRA_FIELDS): Poison. · 67a0732f
      	* system.h (IFCVT_EXTRA_FIELDS): Poison.
      	(IFCVT_INIT_EXTRA_FIELDS): Poison.
      	* basic-block.h (struct ce_if_block): Remove IFCVT_EXTRA_FIELDS.
      	* ifcvt.c (find_if_header): Use IFCVT_MACHDEP_INIT instead of
      	IFCVT_INIT_EXTRA_FIELDS.
      	* gengtype-parse.c (struct_field_seq): Remove obsolete comment.
      	* config/frv/frv.h (IFCVT_INIT_EXTRA_FIELDS): Rename to
      	IFCVT_MACHDEP_INIT.
      	* config/frv/frv.c (frv_ifcvt_init_extra_fields): Rename to
      	frv_ifcvt_machdep_init.
      	* doc/tm.texi.in (IFCVT_INIT_EXTRA_FIELDS, IFCVT_EXTRA_FIELDS):
      	Remove documentation.
      	(IFCVT_MACHDEP_INIT): Document.
      	* doc/tm.texi: Regenerate.
      
      From-SVN: r189074
      Steven Bosscher committed
  9. 26 Jun, 2012 3 commits
    • system.h (USE_COMMON_FOR_ONE_ONLY): Poison. · 4e2edffd
      	* system.h (USE_COMMON_FOR_ONE_ONLY): Poison.
      	* defaults.h (USE_COMMON_FOR_ONE_ONLY): Do not provide default.
      	* config/darwin.h (USE_COMMON_FOR_ONE_ONLY): Do not define.
      
      From-SVN: r188999
      Steven Bosscher committed
    • system.h (UNALIGNED_SHORT_ASM_OP, [...]): Poison. · 01a07a64
      	* system.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
      	UNALIGNED_LONG_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Poison.
      	* vmsdbgout.c (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
      	UNALIGNED_LONG_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Rename to
      	VMS_UNALIGNED_SHORT_ASM_OP, VMS_UNALIGNED_INT_ASM_OP,
      	VMS_UNALIGNED_LONG_ASM_OP, and VMS_UNALIGNED_DOUBLE_INT_ASM_OP.
      	* config/microblaze/microblaze.h (UNALIGNED_SHORT_ASM_OP,
      	UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Do not define.
      	* doc/tm.texi.in: Remove UNALIGNED_INT_ASM_OP reference from the
      	documentation.
      	* doc/tm.texi: Regenerate.
      	* doc/cpp.texi: Make example for #error generic.
      	* config/frv/frv.h: Fix example text to match tm.texi.
      
      From-SVN: r188991
      Steven Bosscher committed
    • re PR middle-end/33190 (tm.texi describes some non-existing hooks) · 0c93ed52
      	PR other/33190
      	* config/mips/mips.h: Do not define ALL_COP_ADDITIONAL_REGISTER_NAMES.
      	* config/frv/frv.h: Do not define REVERSE_CONDEXEC_PREDICATES_P.
      	* doc/tm.texi.in: Remove documentation for unused target macros
      	ALL_COP_ADDITIONAL_REGISTER_NAMES, DBX_OUTPUT_LBRAC, DBX_OUTPUT_NFUN,
      	DBX_OUTPUT_RBRAC, RANGE_TEST_NON_SHORT_CIRCUIT, REAL_VALUE_TRUNCATE,
      	REVERSE_CONDEXEC_PREDICATES_P, TARGET_ALIGN_ANON_BITFIELDS, and
      	TARGET_NARROW_VOLATILE_BITFIELDS.
      	Document that MD_HANDLE_UNWABI is a macro in libgcc.
      	* doc/tm.texi: Regenerate.
      	* system.h: Poison target macros
      	ALL_COP_ADDITIONAL_REGISTER_NAMES, DBX_OUTPUT_LBRAC, DBX_OUTPUT_NFUN,
      	DBX_OUTPUT_RBRAC, RANGE_TEST_NON_SHORT_CIRCUIT, REAL_VALUE_TRUNCATE,
      	REVERSE_CONDEXEC_PREDICATES_P, TARGET_ALIGN_ANON_BITFIELDS, and
      	TARGET_NARROW_VOLATILE_BITFIELDS
      
      From-SVN: r188983
      Steven Bosscher committed
  10. 24 Jun, 2012 1 commit
  11. 20 Jun, 2012 1 commit
  12. 31 May, 2012 1 commit
    • output.h (__gcc_host_wide_int__): Move to hwint.h. · be7a421e
      	* output.h (__gcc_host_wide_int__): Move to hwint.h.
      	(decl_default_tls_model): Move to tree.h
      	(dump_file): Move to system.h.
      	(default_stabs_asm_out_destructor, default_stabs_asm_out_constructor,
      	dbxout_int, dbxout_stabd, dbxout_begin_stabn, dbxout_begin_stabn_sline,
      	dbxout_begin_empty_stabs, dbxout_begin_simple_stabs,
      	dbxout_begin_simple_stabs_desc, dbxout_stab_value_zero,
      	dbxout_stab_value_zero, dbxout_stab_value_label_diff,
      	dbxout_stab_value_internal_label,
      	dbxout_stab_value_internal_label_diff): Move from here ...
      	* dbxout.h: ... to here.
      	* system.h (dump_file): Moved here from output.h.
      	* hwint.h (__gcc_host_wide_int__): Moved here from output.h.
      	* tree.h (decl_default_tls_model): Moved here from output.h.
      	* varasm.c (default_stabs_asm_out_destructor,
      	default_stabs_asm_out_constructor): Move from here ...
      	* dbxout.c: ... to here.
      
      	* gcov-dump.c (dump_file): Rename to dump_gcov_file.  Update callers.
      
      	* collect2.h (dump_file): Rename to dump_ld_file.
      	* collect2.c: Likewise.
      	* tlink.c: Likewise.
      
      	* alias.c: Do not include output.h.
      	* auto-inc-dec.c: Likewise.
      	* bt-load.c: Likewise.
      	* caller-save.c: Likewise.
      	* cfg.c: Likewise.
      	* cfgbuild.c: Likewise.
      	* cfgcleanup.c: Likewise.
      	* cfglayout.c: Likewise.
      	* cfgloop.c: Likewise.
      	* cfgloopanal.c: Likewise.
      	* cfgloopmanip.c: Likewise.
      	* cfgrtl.c: Likewise.
      	* cgraph.c: Likewise.
      	* cgraphclones.c: Likewise.
      	* combine-stack-adj.c: Likewise.
      	* combine.c: Likewise.
      	* cprop.c: Likewise.
      	* cse.c: Likewise.
      	* cselib.c: Likewise.
      	* dbgcnt.c: Likewise.
      	* df-problems.c: Likewise.
      	* df-scan.c: Likewise.
      	* dojump.c: Likewise.
      	* fwprop.c: Likewise.
      	* gcse.c: Likewise.
      	* graph.c: Likewise.
      	* haifa-sched.c: Likewise.
      	* hw-doloop.c: Likewise.
      	* ipa-inline-transform.c: Likewise.
      	* ipa-pure-const.c: Likewise.
      	* ipa-reference.c: Likewise.
      	* ipa-utils.c: Likewise.
      	* ira-build.c: Likewise.
      	* ira-emit.c: Likewise.
      	* lcm.c: Likewise.
      	* loop-doloop.c: Likewise.
      	* loop-invariant.c: Likewise.
      	* loop-iv.c: Likewise.
      	* loop-unroll.c: Likewise.
      	* loop-unswitch.c: Likewise.
      	* lto-cgraph.c: Likewise.
      	* lto-section-in.c: Likewise.
      	* lto-streamer-in.c: Likewise.
      	* mcf.c: Likewise.
      	* mode-switching.c: Likewise.
      	* postreload-gcse.c: Likewise.
      	* postreload.c: Likewise.
      	* predict.c: Likewise.
      	* profile.c: Likewise.
      	* ree.c: Likewise.
      	* reg-stack.c: Likewise.
      	* regcprop.c: Likewise.
      	* regmove.c: Likewise.
      	* regstat.c: Likewise.
      	* reload1.c: Likewise.
      	* sched-ebb.c: Likewise.
      	* sel-sched-dump.c: Likewise.
      	* simplify-rtx.c: Likewise.
      	* stor-layout.c: Likewise.
      	* store-motion.c: Likewise.
      	* tracer.c: Likewise.
      	* tree-affine.c: Likewise.
      	* tree-cfg.c: Likewise.
      	* tree-cfgcleanup.c: Likewise.
      	* tree-dfa.c: Likewise.
      	* tree-into-ssa.c: Likewise.
      	* tree-nomudflap.c: Likewise.
      	* tree-optimize.c: Likewise.
      	* tree-pretty-print.c: Likewise.
      	* tree-profile.c: Likewise.
      	* tree-ssa-address.c: Likewise.
      	* tree-ssa-ccp.c: Likewise.
      	* tree-ssa-copy.c: Likewise.
      	* tree-ssa-dom.c: Likewise.
      	* tree-ssa-loop-ch.c: Likewise.
      	* tree-ssa-loop-im.c: Likewise.
      	* tree-ssa-loop-manip.c: Likewise.
      	* tree-ssa-loop-niter.c: Likewise.
      	* tree-ssa-loop-prefetch.c: Likewise.
      	* tree-ssa-loop-unswitch.c: Likewise.
      	* tree-ssa-loop.c: Likewise.
      	* tree-ssa-propagate.c: Likewise.
      	* tree-ssa-structalias.c: Likewise.
      	* tree-ssa-tail-merge.c: Likewise.
      	* tree-ssa-threadedge.c: Likewise.
      	* tree-ssa-threadupdate.c: Likewise.
      	* tree-ssa-uncprop.c: Likewise.
      	* tree-ssa-uninit.c: Likewise.
      	* tree-ssa.c: Likewise.
      	* value-prof.c: Likewise.
      	* var-tracking.c: Likewise.
      	* web.c: Likewise.
      
      	* config/m32r/m32r.c: Include dbxout.h.
      	* config/pa/pa.c: Likewise.
      	* config/rs6000/rs6000.c: Likewise.
      
      	* Makefile.in: Fix dependencies.
      	* config/rs6000/t-rs5000: Likewise.
      
      c-family/
      	* c-ada-spec.c: Do not include output.h.
      	* c-semantics.c: Likewise.
      
      cp/
      	* call.c: Do not include output.h.
      	* class.c: Likewise.
      	* except.c: Likewise.
      	* friend.c: Likewise.
      	* init.c: Likewise.
      	* lex.c: Likewise.
      	* method.c: Likewise.
      	* parser.c: Likewise.
      	* pt.c: Likewise.
      	* rtti.c: Likewise.
      	* search.c: Likewise.
      
      objc/
      	* objc-act.c: Do not include output.h.
      
      fortran/
      	* trans-common.c: Do not include output.h.
      	* trans-decl.c: Likewise.
      
      java/
      	* resource.c: Do not include output.h.
      
      From-SVN: r188082
      Steven Bosscher committed
  13. 14 Mar, 2012 2 commits
    • Remove MIPS_DEBUGGING_INFO support · 7c17f335
      	* dwarf2cfi.c (def_cfa_0): Remove MIPS_DEBUGGING_INFO handling.
      	(dwarf2out_do_cfi_asm): Likewise.
      	* dwarf2out.c (output_call_frame_info): Remove MIPS_DEBUGGING_INFO
      	handling.
      	(add_data_member_location_attribute): Likewise.
      	(gen_array_type_die): Likewise.
      	(gen_subprogram_die): Likewise.
      	(gen_producer_string): Likewise.
      	* sdbout.c (sdbout_begin_prologue): Declare unconditionally.
      	Remove MIPS_DEBUGGING_INFO handling.
      	(sdb_debug_hooks): Likewise.
      	(sdbout_begin_block): Likewise.
      	(sdbout_end_block): Likewise.
      	(sdbout_begin_prologue): Likewise.
      	(sdbout_start_source_file): Likewise.
      	(sdbout_end_source_file): Likewise.
      	(sdbout_init): Likewise.
      	* system.h (MIPS_DEBUGGING_INFO): Poison.
      
      From-SVN: r185395
      Rainer Orth committed
    • Remove obsolete IRIX 6.5 support · b24513a1
      	libstdc++-v3:
      	* configure.host (irix6.5*): Remove.
      	* config/os/irix: Remove.
      	* config/io/basic_file_stdio.cc (__basic_file<char>::showmanyc())
      	[_GLIBCXX_FIONREAD_TAKES_OFF_T]: Remove.
      
      	* doc/xml/faq.xml: Remove IRIX reference.
      	* doc/xml/manual/using.xml (Finding Dynamic or Shared Libraries):
      	Remove IRIX example.
      
      	* testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc:
      	Remove mips-sgi-irix6* handling.
      	* testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc: Likewise.
      	* testsuite/21_strings/basic_string/pthread18185.cc: Likewise.
      	* testsuite/21_strings/basic_string/pthread4.cc: Likewise.
      	* testsuite/22_locale/locale/cons/12658_thread-1.cc: Likewise.
      	* testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise.
      	* testsuite/23_containers/list/pthread1.cc: Likewise.
      	* testsuite/23_containers/list/pthread5.cc: Likewise.
      	* testsuite/23_containers/map/pthread6.cc: Likewise.
      	* testsuite/23_containers/vector/debug/multithreaded_swap.cc: Likewise.
      	* testsuite/27_io/basic_ofstream/pthread2.cc: Likewise.
      	* testsuite/27_io/basic_ostringstream/pthread3.cc: Likewise.
      	* testsuite/30_threads/async/42819.cc: Likewise.
      	* testsuite/30_threads/async/49668.cc: Likewise.
      	* testsuite/30_threads/async/any.cc: Likewise.
      	* testsuite/30_threads/async/async.cc: Likewise.
      	* testsuite/30_threads/async/launch.cc: Likewise.
      	* testsuite/30_threads/async/sync.cc: Likewise.
      	* testsuite/30_threads/call_once/39909.cc: Likewise.
      	* testsuite/30_threads/call_once/49668.cc: Likewise.
      	* testsuite/30_threads/call_once/call_once1.cc: Likewise.
      	* testsuite/30_threads/condition_variable/cons/1.cc: Likewise.
      	* testsuite/30_threads/condition_variable/members/1.cc: Likewise.
      	* testsuite/30_threads/condition_variable/members/2.cc: Likewise.
      	* testsuite/30_threads/condition_variable/native_handle/typesizes.cc:
      	Likewise.
      	* testsuite/30_threads/condition_variable_any/50862.cc: Likewise.
      	* testsuite/30_threads/condition_variable_any/cons/1.cc: Likewise.
      	* testsuite/30_threads/condition_variable_any/members/1.cc: Likewise.
      	* testsuite/30_threads/condition_variable_any/members/2.cc: Likewise.
      	* testsuite/30_threads/future/cons/move.cc: Likewise.
      	* testsuite/30_threads/future/members/45133.cc: Likewise.
      	* testsuite/30_threads/future/members/get.cc: Likewise.
      	* testsuite/30_threads/future/members/get2.cc: Likewise.
      	* testsuite/30_threads/future/members/share.cc: Likewise.
      	* testsuite/30_threads/future/members/valid.cc: Likewise.
      	* testsuite/30_threads/future/members/wait.cc: Likewise.
      	* testsuite/30_threads/future/members/wait_for.cc: Likewise.
      	* testsuite/30_threads/future/members/wait_until.cc: Likewise.
      	* testsuite/30_threads/lock/1.cc: Likewise.
      	* testsuite/30_threads/lock/2.cc: Likewise.
      	* testsuite/30_threads/lock/3.cc: Likewise.
      	* testsuite/30_threads/lock/4.cc: Likewise.
      	* testsuite/30_threads/lock_guard/cons/1.cc: Likewise.
      	* testsuite/30_threads/mutex/cons/1.cc: Likewise.
      	* testsuite/30_threads/mutex/dest/destructor_locked.cc: Likewise.
      	* testsuite/30_threads/mutex/lock/1.cc: Likewise.
      	* testsuite/30_threads/mutex/native_handle/1.cc: Likewise.
      	* testsuite/30_threads/mutex/native_handle/typesizes.cc: Likewise.
      	* testsuite/30_threads/mutex/try_lock/1.cc: Likewise.
      	* testsuite/30_threads/mutex/try_lock/2.cc: Likewise.
      	* testsuite/30_threads/mutex/unlock/1.cc: Likewise.
      	* testsuite/30_threads/packaged_task/49668.cc: Likewise.
      	* testsuite/30_threads/packaged_task/cons/1.cc: Likewise.
      	* testsuite/30_threads/packaged_task/cons/2.cc: Likewise.
      	* testsuite/30_threads/packaged_task/cons/3.cc: Likewise.
      	* testsuite/30_threads/packaged_task/cons/alloc.cc: Likewise.
      	* testsuite/30_threads/packaged_task/cons/move.cc: Likewise.
      	* testsuite/30_threads/packaged_task/cons/move_assign.cc: Likewise.
      	* testsuite/30_threads/packaged_task/members/get_future.cc: Likewise.
      	* testsuite/30_threads/packaged_task/members/get_future2.cc: Likewise.
      	* testsuite/30_threads/packaged_task/members/invoke.cc: Likewise.
      	* testsuite/30_threads/packaged_task/members/invoke2.cc: Likewise.
      	* testsuite/30_threads/packaged_task/members/invoke3.cc: Likewise.
      	* testsuite/30_threads/packaged_task/members/invoke4.cc: Likewise.
      	* testsuite/30_threads/packaged_task/members/invoke5.cc: Likewise.
      	* testsuite/30_threads/packaged_task/members/reset.cc: Likewise.
      	* testsuite/30_threads/packaged_task/members/reset2.cc: Likewise.
      	* testsuite/30_threads/packaged_task/members/swap.cc: Likewise.
      	* testsuite/30_threads/packaged_task/members/valid.cc: Likewise.
      	* testsuite/30_threads/promise/cons/1.cc: Likewise.
      	* testsuite/30_threads/promise/cons/alloc.cc: Likewise.
      	* testsuite/30_threads/promise/cons/move.cc: Likewise.
      	* testsuite/30_threads/promise/cons/move_assign.cc: Likewise.
      	* testsuite/30_threads/promise/members/get_future.cc: Likewise.
      	* testsuite/30_threads/promise/members/get_future2.cc: Likewise.
      	* testsuite/30_threads/promise/members/set_exception.cc: Likewise.
      	* testsuite/30_threads/promise/members/set_exception2.cc: Likewise.
      	* testsuite/30_threads/promise/members/set_value.cc: Likewise.
      	* testsuite/30_threads/promise/members/set_value2.cc: Likewise.
      	* testsuite/30_threads/promise/members/set_value3.cc: Likewise.
      	* testsuite/30_threads/promise/members/swap.cc: Likewise.
      	* testsuite/30_threads/recursive_mutex/cons/1.cc: Likewise.
      	* testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc:
      	Likewise.
      	* testsuite/30_threads/recursive_mutex/lock/1.cc: Likewise.
      	* testsuite/30_threads/recursive_mutex/native_handle/1.cc: Likewise.
      	* testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc:
      	Likewise.
      	* testsuite/30_threads/recursive_mutex/try_lock/1.cc: Likewise.
      	* testsuite/30_threads/recursive_mutex/try_lock/2.cc: Likewise.
      	* testsuite/30_threads/recursive_mutex/unlock/1.cc: Likewise.
      	* testsuite/30_threads/recursive_timed_mutex/cons/1.cc: Likewise.
      	* testsuite/30_threads/recursive_timed_mutex/dest/destructor_locked.cc:
      	Likewise.
      	* testsuite/30_threads/recursive_timed_mutex/lock/1.cc: Likewise.
      	* testsuite/30_threads/recursive_timed_mutex/lock/2.cc: Likewise.
      	* testsuite/30_threads/recursive_timed_mutex/native_handle/1.cc:
      	Likewise.
      	* testsuite/30_threads/recursive_timed_mutex/native_handle/typesizes.cc:
      	Likewise.
      	* testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc: Likewise.
      	* testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc: Likewise.
      	* testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc:
      	Likewise.
      	* testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc:
      	Likewise.
      	* testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc:
      	Likewise.
      	* testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc:
      	Likewise.
      	* testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc:
      	Likewise.
      	* testsuite/30_threads/recursive_timed_mutex/unlock/1.cc: Likewise.
      	* testsuite/30_threads/shared_future/cons/move.cc: Likewise.
      	* testsuite/30_threads/shared_future/members/45133.cc: Likewise.
      	* testsuite/30_threads/shared_future/members/get.cc: Likewise.
      	* testsuite/30_threads/shared_future/members/get2.cc: Likewise.
      	* testsuite/30_threads/shared_future/members/valid.cc: Likewise.
      	* testsuite/30_threads/shared_future/members/wait.cc: Likewise.
      	* testsuite/30_threads/shared_future/members/wait_for.cc: Likewise.
      	* testsuite/30_threads/shared_future/members/wait_until.cc: Likewise.
      	* testsuite/30_threads/this_thread/1.cc: Likewise.
      	* testsuite/30_threads/this_thread/2.cc: Likewise.
      	* testsuite/30_threads/this_thread/3.cc: Likewise.
      	* testsuite/30_threads/this_thread/4.cc: Likewise.
      	* testsuite/30_threads/thread/cons/1.cc: Likewise.
      	* testsuite/30_threads/thread/cons/2.cc: Likewise.
      	* testsuite/30_threads/thread/cons/3.cc: Likewise.
      	* testsuite/30_threads/thread/cons/4.cc: Likewise.
      	* testsuite/30_threads/thread/cons/49668.cc: Likewise.
      	* testsuite/30_threads/thread/cons/5.cc: Likewise.
      	* testsuite/30_threads/thread/cons/6.cc: Likewise.
      	* testsuite/30_threads/thread/cons/7.cc: Likewise.
      	* testsuite/30_threads/thread/cons/8.cc: Likewise.
      	* testsuite/30_threads/thread/cons/9.cc: Likewise.
      	* testsuite/30_threads/thread/cons/moveable.cc: Likewise.
      	* testsuite/30_threads/thread/members/1.cc: Likewise.
      	* testsuite/30_threads/thread/members/2.cc: Likewise.
      	* testsuite/30_threads/thread/members/3.cc: Likewise.
      	* testsuite/30_threads/thread/members/4.cc: Likewise.
      	* testsuite/30_threads/thread/members/5.cc: Likewise.
      	* testsuite/30_threads/thread/members/hardware_concurrency.cc: Likewise.
      	* testsuite/30_threads/thread/native_handle/typesizes.cc: Likewise.
      	* testsuite/30_threads/thread/swap/1.cc: Likewise.
      	* testsuite/30_threads/timed_mutex/cons/1.cc: Likewise.
      	* testsuite/30_threads/timed_mutex/dest/destructor_locked.cc: Likewise.
      	* testsuite/30_threads/timed_mutex/lock/1.cc: Likewise.
      	* testsuite/30_threads/timed_mutex/native_handle/1.cc: Likewise.
      	* testsuite/30_threads/timed_mutex/native_handle/typesizes.cc: Likewise.
      	* testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise.
      	* testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise.
      	* testsuite/30_threads/timed_mutex/try_lock_for/1.cc: Likewise.
      	* testsuite/30_threads/timed_mutex/try_lock_for/2.cc: Likewise.
      	* testsuite/30_threads/timed_mutex/try_lock_for/3.cc: Likewise.
      	* testsuite/30_threads/timed_mutex/try_lock_until/1.cc: Likewise.
      	* testsuite/30_threads/timed_mutex/try_lock_until/2.cc: Likewise.
      	* testsuite/30_threads/timed_mutex/unlock/1.cc: Likewise.
      	* testsuite/30_threads/try_lock/1.cc: Likewise.
      	* testsuite/30_threads/try_lock/2.cc: Likewise.
      	* testsuite/30_threads/try_lock/3.cc: Likewise.
      	* testsuite/30_threads/try_lock/4.cc: Likewise.
      	* testsuite/30_threads/unique_lock/cons/1.cc: Likewise.
      	* testsuite/30_threads/unique_lock/cons/2.cc: Likewise.
      	* testsuite/30_threads/unique_lock/cons/3.cc: Likewise.
      	* testsuite/30_threads/unique_lock/cons/4.cc: Likewise.
      	* testsuite/30_threads/unique_lock/cons/5.cc: Likewise.
      	* testsuite/30_threads/unique_lock/cons/6.cc: Likewise.
      	* testsuite/30_threads/unique_lock/locking/1.cc: Likewise.
      	* testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
      	* testsuite/30_threads/unique_lock/locking/3.cc: Likewise.
      	* testsuite/30_threads/unique_lock/locking/4.cc: Likewise.
      	* testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
      	* testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
      	* testsuite/ext/rope/pthread7-rope.cc: Likewise.
      	* testsuite/tr1/2_general_utilities/shared_ptr/thread/default_weaktoshared.cc:
      	Likewise.
      	* testsuite/tr1/2_general_utilities/shared_ptr/thread/mutex_weaktoshared.cc:
      	Likewise.
      
      	* testsuite/23_containers/vector/capacity/resize/1.cc: Remove
      	dg-options for mips*-*-irix6*.
      
      	* testsuite/27_io/ios_base/storage/1.cc: Likewise.
      	* testsuite/27_io/ios_base/storage/2.cc: Likewise.
      	* testsuite/27_io/ios_base/storage/3.cc: Likewise.
      
      	* testsuite/lib/libstdc++.exp (v3-build_support): Remove IRIX 6
      	workaround.
      
      	libjava:
      	* configure.ac (libgcj_cv_exidx): Remove IRIX 6 ld workaround.
      	(mips-sgi-irix6*): Remove.
      	(mips-sgi-irix*): Remove.
      	(AC_CHECK_HEADERS): Remove bstring.h.
      	* configure: Regenerate.
      	* include/config.h.in: Regenerate.
      	* configure.host (mips-sgi-irix6*): Remove.
      
      	* include/posix-signal.h [__sgi__]: Remove.
      
      	* gnu/java/net/natPlainDatagramSocketImplPosix.cc
      	[HAVE_BSTRING_H]: Remove.
      	* gnu/java/net/natPlainDatagramSocketImplWin32.cc: Likewise.
      	* gnu/java/net/natPlainSocketImplPosix.cc: Likewise.
      
      	libitm:
      	* configure.tgt (*-*-irix6*): Remove.
      
      	libgomp:
      	* configure.tgt (mips-sgi-irix6*): Remove.
      
      	libgfortran:
      	* intrinsics/c99_functions.c [__sgi__ && !HAVE_COMPLEX_H]: Remove.
      
      	libgcc:
      	* config.host (mips-sgi-irix6.5*): Remove.
      	* config/mips/irix-crti.S: Remove.
      	* config/mips/irix-crtn.S: Remove.
      	* config/mips/irix6-unwind.h: Remove.
      	* config/mips/t-irix6: Remove.
      	* config/mips/t-slibgcc-irix: Remove.
      
      	gnattools:
      	* configure.ac (mips-sgi-irix*): Remove.
      	* configure: Regenerate.
      
      	gcc/testsuite:
      	* g++.dg/other/anon5.C: Don't skip on mips-sgi-irix*.
      	* g++.dg/tree-prof/partition1.C: Likewise.
      	* g++.dg/tree-prof/partition2.C: Likewise.
      	* g++.old-deja/g++.other/init19.C: Remove mips-sgi-irix*
      	handling.
      	* gcc.c-torture/compile/labels-3.c: Remove dg-options.
      	* gcc.c-torture/execute/20010724-1.c: Remove.
      	* gcc.c-torture/execute/20010724-1.x: Remove.
      	* gcc.c-torture/execute/20040208-2.c: Remove.
      	* gcc.c-torture/execute/20040208-2.x: Remove.
      	* gcc.c-torture/execute/ieee/20000320-1.c [__mips__ && __sgi__]:
      	Remove.
      	(main) [__mips__ && __sgi__]: Remove.
      	* gcc.c-torture/execute/ieee/copysign1.c: Remove IRIX reference.
      	* gcc.c-torture/execute/ieee/copysign2.c: Likewise.
      	* gcc.c-torture/execute/ieee/mul-subnormal-single-1.x: Remove
      	mips-sgi-irix6* handling.
      	* gcc.dg/cpp/assert4.c [__mips__]: Remove __sgi__, sgi.
      	* gcc.dg/torture/20090618-1.c: Don't skip on mips-sgi-irix*.
      	* gcc.dg/torture/builtin-frexp-1.c: Remove mips*-*-irix6*
      	handling.
      	* gcc.dg/torture/builtin-logb-1.c: Likewise.
      	* gcc.dg/torture/pr47917.c: Remove mips-sgi-irix6.5 handling.
      	* gcc.dg/tree-ssa/ssa-store-ccp-3.c: Don't skip on mips*-*-irix*.
      	* gcc.misc-tests/linkage.exp: Remove mips-sgi-irix6* handling.
      	* gcc.target/mips/args-1.c [!__sgi__]: Remove.
      	* gcc.target/mips/interrupt_handler-2.c: Don't skip on
      	mips-sgi-irix6*.
      	* gcc.target/mips/interrupt_handler-3.c: Likewise.
      	* gcc.target/mips/save-restore-1.c: Don't skip on mips-sgi-irix6*.
      	* gcc.target/mips/save-restore-3.c: Likewise.
      	* gcc.target/mips/save-restore-4.c: Likewise.
      	* gcc.target/mips/save-restore-5.c: Likewise.
      	* gfortran.dg/g77/cabs.f: Don't xfail on mips-sgi-irix6*.
      	* lib/prune.exp (prune_gcc_output): Remove pruning of IRIX 6 ld
      	messages.
      	* lib/target-libpath.exp (set_ld_library_path_env_vars): Remove
      	IRIX 6 handling.
      	(restore_ld_library_path_env_vars): Likewise.
      	* lib/target-supports.exp (check_profiling_available): Remove
      	mips*-*-irix* handling.
      	(check_ascii_locale_available): Remove mips-sgi-irix* handling.
      	(add_options_for_c99_runtime): Remove mips-sgi-irix6.5* handling.
      	* objc.dg/stabs-1.m: Don't xfail on mips-sgi-irix6.5.
      
      	gcc/ada:
      	* gcc-interface/Makefile.in (mips-sgi-irix6*): Remove.
      
      	* a-intnam-irix.ads, mlib-tgt-specific-irix.adb,
      	s-intman-irix.adb, s-mastop-irix.adb, s-osinte-irix.adb,
      	s-osinte-irix.ads, s-proinf-irix-athread.adb,
      	s-proinf-irix-athread.ads, s-taprop-irix.adb, s-tasinf-irix.ads,
      	system-irix-n32.ads, system-irix-n64.ads, system-irix-o32.ads:
      	Remove.
      
      	* adaint.c [__mips && __sgi]: Remove.
      	(__gnat_number_of_cpus) [__mips && __sgi]: Remove.
      	[IS_CROSS && !(__mips && __sgi)]: Remove.
      	* adaint.h [sgi && _LFAPI]: Remove.
      	* cstreams.c (__gnat_full_name) [sgi]: Remove.
      	* env.c (__gnat_unsetenv) [__mips && __sgi]: Remove.
      	(__gnat_clearenv) [__mips && __sgi]: Remove.
      	* errno.c (_SGI_MP_SOURCE): Remove.
      	* gsocket.h [sgi]: Remove.
      	* init.c: Remove IRIX reference.
      	[sgi]: Remove.
      	* link.c [sgi]: Remove.
      	* s-oscons-tmplt.c [__mips && __sgi] (IOV_MAX): Don't define.
      	(main) [__mips && __sgi] (MAX_tv_sec): Don't define.
      	(CLOCK_SGI_FAST, CLOCK_SGI_CYCLE): Remove.
      	* sysdep.c [sgi]: Remove.
      	(getc_immediate_common) [sgi]: Remove.
      	(__gnat_localtime_tzoff) [sgi]: Remove.
      	* terminals.c [__mips && __sgi] (IRIX): Don't define.
      	[IRIX] (USE_GETPTY): Don't define.
      	(allocate_pty_desc) [USE_GETPTY]: Remove.
      
      	* g-traceb.ads: Remove IRIX reference.
      	* g-trasym.ads: Likewise.
      	* memtrack.adb: Likewise.
      	* s-interr-sigaction.adb: Likewise.
      
      	* gnat_rm.texi (Implementation Advice): Remove SGI info.
      	(Implementation Defined Characteristics): Likewise.
      	* gnat_ugn.texi (Summary of Run-Time Configurations, mips-irix):
      	Remove.
      	(Irix-Specific Considerations): Remove.
      
      	gcc/cp:
      	* Make-lang.in (doc/g++.1): Remove IRIX 6.5 reference.
      
      	gcc:
      	* config.gcc (enable_obsolete): Remove mips-sgi-irix6.5.
      	(mips-sgi-irix6.5*): Remove.
      	* config.host (mips-sgi-irix*): Remove.
      	* configure.ac (enable_fixed_point): Remove mips*-sgi-irix*.
      	(set_have_as_tls): Remove *-*-irix6*.
      	(gcc_cv_ld_static_dynamic): Remove mips-sgi-irix6*.
      	* configure: Regenerate.
      
      	* config/mips/iris6.h: Remove.
      	* config/mips/iris6.opt: Remove.
      	* config/mips/t-irix6: Remove.
      
      	* config/mips/mips.h (TARGET_GPWORD): Remove IRIX 6 N64 handling.
      	(TARGET_IRIX6): Remove.
      	(TARGET_CPU_CPP_BUILTINS): Remove IRIX 6 handling.
      	Don't define LANGUAGE_C, _LANGUAGE_C for Objective-C.
      	* config/mips/mips.c (mips_build_builtin_va_list): Remove IRIX 6
      	handling.
      	(mips_file_start): Likewise.
      	* config/mips/mips-protos.h (irix_asm_output_align): Remove.
      
      	* config/mips/driver-native.c [__sgi__]: Remove.
      	(host_detect_local_cpu) [__sgi__]: Remove.
      
      	* config/mips/gnu-user.h: Remove iris5.h reference.
      
      	* config/mips/mips-modes.def: Remove IRIX 6 reference.
      	* config/mips/gnu-user64.h (MIPS_TFMODE_FORMAT): Remove.
      	* config/mips/mips.c (mips_option_override) [MIPS_TFMODE_FORMAT]:
      	Remove.
      
      	* gcc.c (main): Move asm_debug initialization ...
      	(asm_debug): ... here.
      
      	* ginclude/stddef.h (__STDDEF_H__): Don't define.
      
      	* defaults.h (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES): Remove.
      	* system.h (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES): Poison.
      	* collect2.c [LINK_ELIMINATE_DUPLICATE_LDIRECTORIES]: Remove.
      	(main) [LINK_ELIMINATE_DUPLICATE_LDIRECTORIES]: Remove.
      	[LINK_ELIMINATE_DUPLICATE_LDIRECTORIES] (is_in_args): Remove.
      	* doc/tm.texi.in (Driver, LINK_ELIMINATE_DUPLICATE_LDIRECTORIES):
      	Remove.
      	* doc/tm.texi: Regenerate.
      
      	* doc/invoke.texi (Debugging Options, -gdwarf-<version>): Remove
      	IRIX 6 reference.
      	(MIPS Options, -march): Remove IRIX reference.
      	* doc/install.texi (Binaries, SGI IRIX): Remove.
      	(Specific, mips-sgi-irix6): Document IRIX 6.5 removal, remove rest
      	of section.
      	* doc/trouble.texi (Interoperation): Remove -lgl_s handling.
      
      	fixincludes:
      	* inclhack.def (broken_cabs): Remove IRIX and SunOS 4 support.
      	(irix___restrict): Remove.
      	(irix___generic1): Remove.
      	(irix___generic2): Remove.
      	(irix_asm_apostrophe): Remove.
      	(irix_complex): Remove.
      	(irix_pthread_init): Remove.
      	(irix_socklen_t): Remove.
      	(irix_stdint_c99_mode): Remove.
      	(irix_stdint_c99_types): Remove.
      	(irix_stdint_c99_macros): Remove.
      	(irix_stdio_va_list): Remove IRIX 6.5 support.
      	(irix_wcsftime): Remove.
      	(stdio_va_list): Remove IRIX 6.5 support.
      	(svr4_profil): Remove IRIX bypass.
      	* fixincl.x: Regenerate.
      
      	* tests/base/complex.h [IRIX_COMPLEX_CHECK]: Remove.
      	* tests/base/internal/math_core.h: Remove.
      	* tests/base/internal/sgimacros.h: Remove.
      	* tests/base/internal/wchar_core.h: Remove.
      	* tests/base/math.h [BROKEN_CABS_CHECK]: Remove IRIX and SunOS 4
      	support.
      	* tests/base/pthread.h [IRIX_PTHREAD_INIT_CHECK]: Remove.
      	* tests/base/stdint-irix65.h: Remove.
      	* tests/base/stdint.h [IRIX_STDINT_C99_MODE_CHECK]: Remove.
      	* tests/base/sys/asm.h: Remove.
      	* tests/base/sys/socket.h [IRIX_SOCKLEN_T_CHECK]: Remove.
      
      	contrib:
      	* config-list.mk (LIST): Remove mips-sgi-irix6.5.
      
      	toplevel:
      	* MAINTAINERS (OS Port Maintainers): Remove irix.
      	* configure.ac (enable_libgomp): Remove *-*-irix6*.
      	(unsupported_languages): Remove mips-sgi-irix6.*.
      	(noconfigdirs): Don't add ${libgcj} for mips*-*-irix6*.
      	(with_stabs): Remove.
      	* configure: Regenerate.
      
      From-SVN: r185390
      Rainer Orth committed
  14. 12 Mar, 2012 1 commit
    • Remove obsolete Tru64 UNIX V5.1B support · 5c30094f
      	libstdc++-v3:
      	* configure.host: Remove osf* handling.
      	* config/os/osf: Remove.
      	* doc/xml/manual/using.xml: Remove OSF reference.
      
      	* testsuite/18_support/pthread_guard.cc: Remove alpha*-*-osf*
      	handling.
      	* testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc:
      	Likewise.
      	* testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc:
      	Likewise.
      	* testsuite/21_strings/basic_string/pthread18185.cc: Likewise.
      	* testsuite/21_strings/basic_string/pthread4.cc: Likewise.
      	* testsuite/22_locale/locale/cons/12658_thread-1.cc: Likewise.
      	* testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise.
      	* testsuite/23_containers/list/pthread1.cc: Likewise.
      	* testsuite/23_containers/list/pthread5.cc: Likewise.
      	* testsuite/23_containers/map/pthread6.cc: Likewise.
      	* testsuite/23_containers/vector/debug/multithreaded_swap.cc:
      	Likewise.
      	* testsuite/27_io/basic_ofstream/pthread2.cc: Likewise.
      	* testsuite/27_io/basic_ostringstream/pthread3.cc: Likewise.
      	* testsuite/30_threads/async/42819.cc: Likewise.
      
      	* libstdc++-v3/testsuite/30_threads/async/49668.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/async/any.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/async/async.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/async/launch.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/async/sync.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/call_once/39909.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/call_once/49668.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/call_once/call_once1.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/condition_variable/cons/1.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/condition_variable/members/1.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/condition_variable/members/2.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/condition_variable/native_handle/typesizes.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/condition_variable_any/50862.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/condition_variable_any/cons/1.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/condition_variable_any/members/1.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/condition_variable_any/members/2.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/future/cons/move.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/future/members/45133.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/future/members/get.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/future/members/get2.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/future/members/share.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/future/members/valid.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/future/members/wait.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/future/members/wait_for.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/future/members/wait_until.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/lock/1.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/lock/2.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/lock/3.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/lock/4.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/lock_guard/cons/1.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/mutex/cons/1.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/mutex/dest/destructor_locked.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/mutex/lock/1.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/mutex/native_handle/1.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/mutex/native_handle/typesizes.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/mutex/try_lock/1.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/mutex/try_lock/2.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/mutex/unlock/1.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/packaged_task/49668.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/packaged_task/cons/1.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/packaged_task/cons/2.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/packaged_task/cons/3.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/packaged_task/cons/alloc.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/packaged_task/cons/move.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/packaged_task/cons/move_assign.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/packaged_task/members/get_future.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/packaged_task/members/get_future2.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/packaged_task/members/invoke.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/packaged_task/members/invoke2.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/packaged_task/members/invoke3.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/packaged_task/members/invoke4.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/packaged_task/members/invoke5.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/packaged_task/members/reset.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/packaged_task/members/reset2.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/packaged_task/members/swap.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/packaged_task/members/valid.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/promise/cons/1.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/promise/cons/alloc.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/promise/cons/move.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/promise/cons/move_assign.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/promise/members/get_future.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/promise/members/get_future2.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/promise/members/set_exception.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/promise/members/set_exception2.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/promise/members/set_value.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/promise/members/set_value2.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/promise/members/set_value3.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/promise/members/swap.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/recursive_mutex/cons/1.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/recursive_mutex/lock/1.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/recursive_mutex/native_handle/1.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/recursive_mutex/try_lock/1.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/recursive_mutex/try_lock/2.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/recursive_mutex/unlock/1.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/cons/1.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/dest/destructor_locked.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/lock/1.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/lock/2.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/native_handle/1.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/native_handle/typesizes.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/unlock/1.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/shared_future/cons/move.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/shared_future/members/45133.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/shared_future/members/get.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/shared_future/members/get2.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/shared_future/members/valid.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/shared_future/members/wait.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/shared_future/members/wait_for.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/shared_future/members/wait_until.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/this_thread/1.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/this_thread/2.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/this_thread/3.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/this_thread/4.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/thread/cons/1.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/thread/cons/2.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/thread/cons/3.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/thread/cons/4.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/thread/cons/49668.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/thread/cons/5.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/thread/cons/6.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/thread/cons/7.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/thread/cons/8.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/thread/cons/9.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/thread/cons/moveable.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/thread/members/1.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/thread/members/2.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/thread/members/3.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/thread/members/4.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/thread/members/5.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/thread/members/hardware_concurrency.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/thread/swap/1.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/timed_mutex/cons/1.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/timed_mutex/dest/destructor_locked.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/timed_mutex/lock/1.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/timed_mutex/native_handle/1.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/timed_mutex/native_handle/typesizes.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_for/1.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_for/2.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_for/3.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_until/1.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_until/2.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/timed_mutex/unlock/1.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/try_lock/1.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/try_lock/2.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/try_lock/3.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/try_lock/4.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/unique_lock/cons/1.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/unique_lock/cons/2.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/unique_lock/cons/3.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/unique_lock/cons/4.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/unique_lock/cons/5.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/unique_lock/cons/6.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/unique_lock/locking/1.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/unique_lock/locking/3.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/unique_lock/locking/4.cc: Likewise.
      	* libstdc++-v3/testsuite/30_threads/unique_lock/modifiers/1.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/30_threads/unique_lock/modifiers/2.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/ext/rope/pthread7-rope.cc: Likewise.
      	* libstdc++-v3/testsuite/tr1/2_general_utilities/shared_ptr/thread/default_weaktoshared.cc:
      	Likewise.
      	* libstdc++-v3/testsuite/tr1/2_general_utilities/shared_ptr/thread/mutex_weaktoshared.cc: Likewise.
      
      	libobjc:
      	* configure.ac (enable_objc_gc): Remove alpha*-dec-osf* handling.
      	* configure: Regenerate.
      
      	* thr.c (_XOPEN_SOURCE): Define unconditionally.
      
      	libjava:
      	* configure.ac (alpha*-dec-osf*): Remove.
      	* configure: Regenerate.
      	* configure.host (alpha*-dec-osf*): Remove.
      
      	* gnu/java/net/natPlainDatagramSocketImplPosix.cc (setOption): Use
      	IPV6_MULTICAST_IF unconditionally.
      	* gnu/java/net/natPlainDatagramSocketImplWin32.cc (setOption):
      	Likewise.
      	* gnu/java/net/natPlainSocketImplPosix.cc
      	(gnu::java::net::PlainSocketImpl::accept): Use ::accept instead of
      	_Jv_accept.
      	* include/posix-signal.h [__alpha__ && __osf__]: Remove.
      	* include/posix.h (_POSIX_PII_SOCKET): Don't define.
      	(_Jv_accept): Remove.
      
      	* java/io/File.java (File._access): Rename to access.
      	Change callers.
      	(File._stat): Likewise.
      	* java/io/File.h: Regenerate.
      	* classpath/lib/java/io/File.class: Regenerate.
      	* java/io/natFilePosix.cc (java::io::File::_access): Rename to
      	access.
      	(java::io::File::_stat): Rename to stat.
      	* java/io/natFileWin32.cc: Likewise.
      
      	* testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
      	Remove alpha*-dec-osf* handling.
      	* testsuite/libjava.jvmti/jvmti-interp.exp
      	(gcj_jni_compile_c_to_so): Likewise.
      	* testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_compile_cxx_to_o):
      	Likewise.
      
      	libitm:
      	* configure.tgt (*-*-osf*): Remove.
      	* configure: Regenerate.
      
      	libgomp:
      	* configure.tgt (alpha*-dec-osf*): Remove.
      
      	* config/osf/sem.h: Remove.
      	* config/posix/lock.c (_XOPEN_SOURCE): Define unconditionally.
      
      	libgfortran:
      	* configure.ac: Remove Tru64 reference.
      	* acinclude.m4 (LIBGFOR_GTHREAD_WEAK): Remove alpha*-dec-osf*
      	handling.
      	* configure: Regenerate.
      	* intrinsics/c99_functions.c [__osf__]: Remove.
      
      	libgcc:
      	* config.host: Remove alpha*-dec-osf5.1* handling.
      	* config/alpha/gthr-posix.c: Remove.
      	* config/alpha/libgcc-osf5.ver: Remove.
      	* config/alpha/osf5-unwind.h: Remove.
      	* config/alpha/t-osf-pthread: Remove.
      	* config/alpha/t-slibgcc-osf: Remove.
      	* config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
      	* gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
      	[__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
      	* mkmap-flat.awk: Remove osf_export handling.
      
      	gnattools:
      	* configure.ac: Remove alpha*-dec-osf* handling.
      	* configure: Regenerate.
      
      	gcc/testsuite:
      	* g++.dg/abi/rtti3.C: Remove alpha*-dec-osf* handling.
      	* g++.dg/abi/thunk4.C: Likewise.
      	* g++.dg/cdce3.C: Don't skip on*-dec-osf5*.
      	Adapt line numbers.
      	* g++.dg/compat/struct-layout-1_generate.c: Remove alpha*-dec-osf*
      	handling.
      	* g++.dg/cpp0x/constexpr-rom.C: Likewise.
      	* g++.dg/eh/spbp.C: Likewise.
      	* g++.dg/ext/label13.C: Likewise.
      	* g++.dg/guality/guality.exp: Likewise.
      	* g++.dg/other/anon5.C: Likewise.
      	* g++.dg/other/pragma-ep-1.C: Remove.
      	* g++.dg/warn/miss-format-1.C: Remove alpha*-dec-osf* handling.
      	* g++.dg/warn/pr31246.C: Likewise.
      	* g++.dg/warn/weak1.C: Likewise.
      	* g++.old-deja/g++.eh/badalloc1.C: Likewise.
      	* g++.old-deja/g++.ext/attrib5.C: Likewise.
      	* gcc.c-torture/compile/limits-declparen.c: Likewise.
      	* gcc.c-torture/compile/limits-pointer.c: Likewise.
      	* gcc.c-torture/execute/20001229-1.c: Remove __osf__ handling.
      	* gcc.dg/attr-weakref-1.c: Remove alpha*-dec-osf* handling.
      	* gcc.dg/c99-stdint-6.c: Remove alpha*-dec-osf5* handling.
      	* gcc.dg/c99-tgmath-1.c: Likewise.
      	* gcc.dg/c99-tgmath-2.c: Likewise.
      	* gcc.dg/c99-tgmath-3.c: Likewise.
      	* gcc.dg/c99-tgmath-4.c: Likewise.
      	* gcc.dg/compat/struct-layout-1_generate.c: Remove alpha*-dec-osf*
      	handling.
      	* gcc.dg/debug/pr49032.c: Likewise.
      	* gcc.dg/guality/guality.exp: Likewise.
      	* gcc.dg/intmax_t-1.c: Likewise.
      	* gcc.dg/pr48616.c: Likewise.
      	* gcc.dg/pragma-ep-1.c: Remove.
      	* gcc.dg/pragma-ep-2.c: Remove.
      	* gcc.dg/pragma-ep-3.c: Remove.
      	* gcc.dg/torture/pr47917.c: Remove alpha*-dec-osf5* handling.
      	* gcc.dg/tree-ssa/pr42585.c: Remove alpha*-dec-osf* handling.
      	* gcc.misc-tests/gcov-14.c: Likewise.
      	* gfortran.dg/guality/guality.exp: Likewise.
      	* lib/target-supports.exp (check_weak_available): Likewise.
      	(add_options_for_tls): Likewise.
      	(check_ascii_locale_available): Likewise.
      	* obj-c++.dg/dwarf-2.mm: Likewise.
      	* objc.dg/dwarf-1.m: Likewise.
      	* objc.dg/dwarf-2.m: Likewise.
      
      	gcc/c-family:
      	* c-cppbuiltin.c (c_cpp_builtins): Remove #pragma extern_prefix
      	handling.
      	* c-pragma.c (handle_pragma_extern_prefix): Remove.
      	(init_pragma): Don't register extern_prefix.
      
      	gcc/po:
      	* EXCLUDES (mips-tdump.c, mips-tfile.c): Remove.
      
      	gcc:
      	* config.gcc (alpha*-dec-osf5.1*): Remove.
      	* config.host (alpha*-dec-osf*): Remove.
      	* configure.ac (*-*-osf*): Remove.
      	(alpha*-dec-osf*): Remove.
      	* configure: Regenerate.
      
      	* config/alpha/host-osf.c, config/alpha/osf5.h,
      	config/alpha/osf5.opt, config/alpha/va_list.h, config/alpha/x-osf:
      	Remove.
      
      	* config/alpha/alpha.h (TARGET_LD_BUGGY_LDGP): Remove.
      	* config/alpha/alpha.c (struct machine_function): Update comment.
      	(alpha_start_function): Remove Tru64 UNIX as handling for
      	max_frame_size.
      	* config/alpha/alpha.md ("exception_receiver"): Remove
      	TARGET_LD_BUGGY_LDGP.
      	("*exception_receiver_2"): Likewise.
      	* except.c (finish_eh_generation): Remove Tru64 reference.
      	* ginclude/stdarg.h [_HIDDEN_VA_LIST]: Don't undef _VA_LIST.
      	* system.h (TARGET_HANDLE_PRAGMA_EXTERN_PREFIX): Poison.
      	* target.def (handle_pragma_extern_prefix): Remove.
      
      	* Makefile.in (mips-tfile.o-warn): Remove.
      	(ALL_HOST_BACKEND_OBJS): Remove mips-tfile.o, mips-tdump.o.
      	(mips-tfile, mips-tfile.o, mips-tdump, mips-tdump.o): Remove.
      	* mips-tdump.c, mips-tfile.c: Remove.
      
      	* doc/extend.texi (Symbol-Renaming Pragmas): Remove #pragma
      	extern_prefix.
      	* doc/install.texi (Binaries): Remove Tru64 UNIX reference.
      	(Specific, alpha*-dec-osf5.1): Note removal.
      	* doc/tm.texi.in (Misc, TARGET_HANDLE_PRAGMA_EXTERN_PREFIX):
      	Remove.
      	* doc/tm.texi: Regenerate.
      	* doc/trouble.texi (Cross-Compiler Problems): Remove.
      
      	gcc/ada:
      	* gcc-interface/Makefile.in (alpha*-dec-osf*): Remove.
      	* a-intnam-tru64.ads, mlib-tgt-specific-tru64.adb,
      	s-mastop-tru64.adb, s-osinte-tru64.adb, s-osinte-tru64.ads,
      	s-taprop-tru64.adb, s-tasinf-tru64.ads, s-taspri-tru64.ads,
      	system-tru64.ads: Remove.
      
      	* adaint.c (__gnat_number_of_cpus) [__alpha__ && __osf__]:
      	Remove.
      	[IS_CROSS] [!(__alpha__ && __osf__)]: Remove.
      	* env.c [__alpha__ && __osf__]: Remove.
      	* gsocket.h (_OSF_SOURCE): Remove.
      	(HAVE_THREAD_SAFE_GETxxxBYyyy) [__osf__]: Remove.
      	* init.c [__alpha__ && __osf__]: Remove.
      	* link.c [__osf__]: Remove.
      	* s-oscons-tmplt.c [__alpha__ && __osf__]: Remove.
      	[__osf__ && !_SS_MAXSIZE]: Remove.
      	* sysdep.c [__osf__]: Remove.
      	* terminals.c [__alpha__ && __osf__]: Remove.
      	[OSF1]: Remove.
      
      	* g-traceb.ads: Remove Tru64 reference.
      	* g-trasym.ads: Likewise.
      	* gnat_ugn.texi (Linking a Mixed C++ & Ada Program): Likewise.
      	(Summary of Run-Time Configurations): Likewise.
      	* memtrack.adb: Likewise.
      
      	fixincludes:
      	* inclhack.def (alpha___extern_prefix): Remove.
      	(alpha___extern_prefix_standards): Remove.
      	(alpha___extern_prefix_sys_stat): Remove.
      	(alpha_bad_lval): Remove.
      	(alpha_pthread): Remove.
      	(alpha_pthread_gcc): Remove.
      	(alpha_pthread_init): Remove.
      	* fixincl.x: Regenerate.
      	* tests/base/pthread.h [ALPHA_PTHREAD_CHECK]: Remove.
      	[ALPHA_PTHREAD_GCC_CHECK]: Remove.
      	[ALPHA_PTHREAD_INIT_CHECK]: Remove.
      	* tests/base/standards.h: Remove.
      	* tests/base/sys/stat.h [ALPHA___EXTERN_PREFIX_SYS_STAT_CHECK]:
      	Remove.
      	* tests/base/testing.h [ALPHA___EXTERN_PREFIX_CHECK]: Remove.
      	[ALPHA_BAD_LVAL_CHECK]: Remove.
      
      	contrib:
      	* config-list.mk (LIST): Remove alpha-dec-osf5.1.
      
      	config:
      	* weakref.m4 (GCC_CHECK_ELF_STYLE_WEAKREF): Remove
      	alpha*-dec-osf*.
      
      	toplevel:
      	* MAINTAINERS (OS Port Maintainers): Remove osf.
      	* configure.ac (enable_libgomp): Remove *-*-osf*.
      	(with_stabs): Remove alpha*-*-osf*.
      	* configure: Regenerate.
      
      From-SVN: r185240
      Rainer Orth committed
  15. 16 Feb, 2012 1 commit
  16. 03 Jan, 2012 1 commit
  17. 12 Nov, 2011 1 commit
  18. 17 Oct, 2011 1 commit
    • configure.ac: Add --with-native-system-header-dir. · 08b2bad2
      	* configure.ac: Add --with-native-system-header-dir.  Set and
      	substitute NATIVE_SYSTEM_HEADER_DIR.  Use native_system_header
      	when setting target_header_dir.
      	* config.gcc: Always set native_system_header_dir.
      	(*-*-gnu*): Set native_system_header_dir.  Don't use t-gnu.
      	(i[34567]86-pc-msdosdjgpp*): Set native_system_header_dir.  Don't
      	use i386/t-djgpp.
      	(i[34567]86-*-mingw* | x86_64-*-mingw*): Set
      	native_system_header_dir.
      	(spu-*-elf*): Set native_system_header_dir.
      	* Makefile.in (NATIVE_SYSTEM_HEADER_DIR): Set to
      	@NATIVE_SYSTEM_HEADER_DIR@.
      	(PREPROCESSOR_DEFINES): Define NATIVE_SYSTEM_HEADER_DIR.
      	* cppdefault.c (STANDARD_INCLUDE_DIR): Don't define.
      	(NATIVE_SYSTEM_HEADER_COMPONENT): Rename from
      	STANDARD_INCLUDE_COMPONENT.
      	(cpp_include_defaults): Don't use SYSTEM_INCLUDE_DIR.  Rename
      	STANDARD_INCLUDE_DIR to NATIVE_SYSTEM_HEADER_DIR.
      	* system.h: Poison SYSTEM_INCLUDE_DIR, STANDARD_INCLUDE_DIR, and
      	STANDARD_INCLUDE_COMPONENT.
      	* config/i386/t-mingw32 (NATIVE_SYSTEM_HEADER_DIR): Remove.
      	* config/i386/t-mingw-w32: Likewise.
      	* config/i386/t-mingw-w64: Likewise.
      	* config/spu/t-spu-elf: Likewise.
      	* config/i386/t-djgpp: Remove.
      	* config/t-gnu: Remove.
      	* config/i386/mingw32.h (STANDARD_INCLUDE_DIR): Don't define.
      	(NATIVE_SYSTEM_HEADER_COMPONENT): Rename from
      	STANDARD_INCLUDE_COMPONENT.
      	* config/i386/djgpp.h (STANDARD_INCLUDE_DIR): Don't define.
      	* config/spu/spu-elf.h: Likewise.
      	* config/vms/xm-vms.h: Likewise.
      	* config/gnu.h: Likewise.
      	* config/openbsd.h (INCLUDE_DEFAULTS): Change STANDARD_INCLUDE_DIR
      	and STANDARD_INCLUDE_COMPONENT to NATIVE_SYSTEM_HEADER_DIR and
      	NATIVE_SYSTME_HEADER_COMPONENT.
      	* doc/install.texi (Configuration): Document
      	--with-native-system-header-dir.  Mention it in the documentation
      	for --with-sysroot and --with-build-sysroot.
      	* doc/tm.texi.in (Driver): Don't document SYSTEM_INCLUDE_DIR or
      	STANDARD_INCLUDE_DIR.  Rename STANDARD_INCLUDE_COMPONENT to
      	NATIVE_SYSTEM_HEADER_COMPONENT.  Rename uses of
      	STANDARD_INCLUDE_DIR to NATIVE_SYSTEM_HEADER_DIR.
      	* doc/fragments.texi (Target Fragment): Don't document
      	NATIVE_SYSTEM_HEADER_DIR.
      	* configure, doc/tm.texi: Rebuild.
      
      Co-Authored-By: Ian Lance Taylor <iant@google.com>
      
      From-SVN: r180114
      Simon Baldwin committed
  19. 11 Oct, 2011 1 commit
  20. 09 Oct, 2011 1 commit
  21. 20 Aug, 2011 1 commit
  22. 08 Aug, 2011 1 commit
    • Fix Dwarf unwind library for UNITS_PER_WORD > sizeof (void *) · cca2207a
      gcc/
      
      2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR other/48007
      	* config.gcc (libgcc_tm_file): Add i386/value-unwind.h for
      	Linux/x86.
      
      	* system.h (REG_VALUE_IN_UNWIND_CONTEXT): Poisoned.
      	(ASSUME_EXTENDED_UNWIND_CONTEXT): Likewise.
      
      	* unwind-dw2.c (ASSUME_EXTENDED_UNWIND_CONTEXT): New.
      	(_Unwind_Context_Reg_Val): Likewise.
      	(_Unwind_Get_Unwind_Word): Likewise.
      	(_Unwind_Get_Unwind_Context_Reg_Val): Likewise.
      	(_Unwind_Context): Use _Unwind_Context_Reg_Val on the reg field.
      	(_Unwind_IsExtendedContext): Check ASSUME_EXTENDED_UNWIND_CONTEXT
      	for EXTENDED_CONTEXT_BIT.
      	(__frame_state_for): Likewise.
      	(uw_init_context_1): Likewise.
      	(_Unwind_GetGR): Updated.
      	(_Unwind_SetGR): Likewise.
      	(_Unwind_GetGRPtr): Likewise.
      	(_Unwind_SetGRPtr): Likewise.
      	(_Unwind_SetGRValue): Likewise.
      	(_Unwind_GRByValue): Likewise.
      	(uw_install_context_1): Likewise.
      
      	* doc/tm.texi.in: Document REG_VALUE_IN_UNWIND_CONTEXT and
      	ASSUME_EXTENDED_UNWIND_CONTEXT.
      	* doc/tm.texi: Regenerated.
      
      libgcc/
      
      2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR other/48007
      	* config/i386/value-unwind.h: New.
      
      From-SVN: r177563
      H.J. Lu committed
  23. 05 Aug, 2011 1 commit
    • Makefile.in (UNWIND_H): Remove. · 201cdb74
      	gcc:
      	* Makefile.in (UNWIND_H): Remove.
      	(LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Move to
      	../libgcc/Makefile.in.
      	(LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): Likewise.
      	(LIBUNWINDDEP): Remove.
      	(libgcc-support): Remove LIB2ADDEH, $(srcdir)/emutls.c dependencies.
      	(libgcc.mvars): Remove LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED,
      	LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL.
      	(stmp-int-hdrs): Remove $(UNWIND_H) dependency.
      	Don't copy $(UNWIND_H).
      	* config.gcc (ia64*-*-linux*): Remove with_system_libunwind
      	handling.
      	* configure.ac (GCC_CHECK_UNWIND_GETIPINFO): Remove.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
      	unwind-dw2-fde-compat.c, unwind-dw2-fde-glibc.c, unwind-dw2-fde.c,
      	unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
      	unwind-pe.h, unwind-sjlj.c, unwind.inc: Move to ../libgcc.
      	* unwind-dw2-fde-darwin.c: Move to ../libgcc/config.
      	* config/arm/libunwind.S, config/arm/pr-support.c,
      	config/arm/unwind-arm.c, config/arm/unwind-arm.h: Move to
      	../libgcc/config/arm.
      	* config/arm/t-bpabi (UNWIND_H, LIB2ADDEH): Remove.
      	* config/arm/t-symbian (UNWIND_H, LIB2ADDEH): Remove.
      	* config/frv/t-frv ($(T)frvbegin$(objext)): Use
      	$(srcdir)/../libgcc to refer to unwind-dw2-fde.h.
      	($(T)frvend$(objext)): Likewise.
      	* config/ia64/t-glibc (LIB2ADDEH): Remove.
      	* config/ia64/t-glibc-libunwind: Move to ../libgcc/config/ia64.
      	* config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
      	config/ia64/unwind-ia64.c, config/ia64/unwind-ia64.h: Move to
      	../libgcc/config/ia64.
      	* config/ia64/t-hpux (LIB2ADDEH): Remove.
      	* config/ia64/t-ia64 (LIB2ADDEH): Remove.
      	* config/ia64/t-vms (LIB2ADDEH): Remove.
      	* config/ia64/vms.h (UNW_IVMS_MODE,
      	MD_UNW_COMPATIBLE_PERSONALITY_P): Remove.
      	* config/picochip/t-picochip (LIB2ADDEH): Remove.
      	* config/rs6000/aix.h (R_LR, MD_FROB_UPDATE_CONTEXT): Remove.
      	* config/rs6000/t-darwin (LIB2ADDEH): Remove.
      	* config/rs6000/darwin-fallback.c: Move to ../libgcc/config/rs6000.
      	* config/sh/t-sh ($(T)unwind-dw2-Os-4-200.o): Use
      	$(srcdir)/../libgcc to refer to unwinder sources.
      	* config/spu/t-spu-elf (LIB2ADDEH): Remove.
      	* config/t-darwin (LIB2ADDEH): Remove.
      	* config/t-freebsd (LIB2ADDEH): Remove.
      	* config/t-libunwind (LIB2ADDEH, LIB2ADDEHSTATIC): Remove.
      	* config/t-libunwind-elf: Move to ../libgcc/config.
      	* config/t-linux (LIB2ADDEH): Remove.
      	* config/t-sol2 (LIB2ADDEH): Remove.
      	* config/xtensa/t-xtensa (LIB2ADDEH): Remove.
      	* system.h (MD_FROB_UPDATE_CONTEXT): Poison.
      
      	gcc/po:
      	* EXCLUDES (unwind-c.c, unwind-dw2-fde-darwin.c)
      	(unwind-dw2-fde-glibc.c, unwind-dw2-fde.c, unwind-dw2-fde.h)
      	(unwind-dw2.c, unwind-pe.h, unwind-sjlj.c, unwind.h): Remove.
      
      	libgcc:
      	* Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
      	variables.
      	(LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
      	(LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
      	(install-unwind_h): New target.
      	(all): Depend on it.
      	* config.host (unwind_header): New variable.
      	(*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
      	(*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
      	*-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
      	(*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
      	(arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
      	Set unwind_header.
      	(arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
      	Set unwind_header.
      	(arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
      	arm*-*-eabi*.
      	Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
      	Set unwind_header.
      	(ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
      	(ia64*-*-freebsd*): Likewise.
      	(ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
      	tmake_file.
      	Add t-libunwind-elf, ia64/t-glibc-libunwind unless
      	$with_system_libunwind.
      	(ia64*-*-hpux*): Set tmake_file.
      	(ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
      	(picochip-*-*): Set tmake_file.
      	(rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
      	md_unwind_header.
      	(rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
      	(rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
      	(s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
      	(xtensa*-*-elf*): Set tmake_file.
      	(xtensa*-*-linux*): Likewise.
      	* configure.ac: Include ../config/unwind_ipinfo.m4.
      	Call GCC_CHECK_UNWIND_GETIPINFO.
      	Link unwind.h to $unwind_header.
      	* configure: Regenerate.
      	* emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
      	unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
      	unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
      	unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
      	* config/unwind-dw2-fde-darwin.c: New file.
      	* config/arm/libunwind.S, config/arm/pr-support.c,
      	config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
      	config/arm/unwind-arm.h,: New files.
      	* config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
      	config/ia64/t-eh-ia64, config/ia64/t-glibc,
      	config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
      	config/ia64/t-vms, config/ia64/unwind-ia64.c,
      	config/ia64/unwind-ia64.h: New files.
      	* config/picochip/t-picochip: New file.
      	* config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
      	files.
      	* config/rs6000/t-darwin (LIB2ADDEH): Set.
      	* config/s390/t-tpf (LIB2ADDEH): Remove.
      	* config/t-darwin (LIB2ADDEH): Set.
      	* config/t-eh-dw2-dip: New file.
      	* config/t-libunwind, config/t-libunwind-elf: New files.
      	* config/t-sol2 (LIB2ADDEH): Remove.
      	* config/xtensa/t-xtensa: New file.
      
      	gcc/ada:
      	* gcc-interface/Makefile.in (raise-gcc.o): Search
      	$(srcdir)/../libgcc.
      
      	libgo:
      	* Makefile.am (AM_CFLAGS): Search $(srcdir)/../libgcc.
      	* Makefile.in: Regenerate.
      
      	libjava:
      	* configure.ac (GCC_UNWIND_INCLUDE): Rename to
      	LIBGCC_UNWIND_INCLUDE.
      	Point to $(multi_basedir)/./libjava/../libgcc.
      	* configure: Regenerate.
      	* Makefile.am (GCC_UNWIND_INCLUDE): Reflect this.
      	* Makefile.in: Regenerate.
      
      	libobjc:
      	* Makefile.in (INCLUDES): Search
      	$(srcdir)/$(MULTISRCTOP)../libgcc.
      
      	libstdc++-v3:
      	* acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Point TOPLEVEL_INCLUDES
      	to $(toplevel_srcdir)/libgcc.
      	* configure: Regenerate.
      
      From-SVN: r177447
      Rainer Orth committed
  24. 25 Jul, 2011 1 commit
  25. 21 Jul, 2011 1 commit
  26. 21 Jun, 2011 1 commit
    • gcc_update (gcc/config/avr/avr-tables.opt): New dependencies. · 1b916ca6
      contrib:
      	* gcc_update (gcc/config/avr/avr-tables.opt): New dependencies.
      
      gcc:
      	* config/avr/avr-mcus.def, config/avr/genopt.sh: New files.
      	* config/avr/avr-tables.opt: New file (generated).
      	* config.gcc (avr-*-*): Use avr/avr-tables.opt.
      	* config/avr/avr-devices.c (avr_mcu_types): Move contents to
      	avr-mcus.def.
      	* config/avr/avr.c (avr_help, TARGET_HELP): Remove.
      	(avr_option_override): Don't process -mmcu= argument here.  Set
      	avr_current_device using avr_mcu_index.
      	(avr_file_start): Use avr_current_device->name instead of
      	avr_mcu_name.
      	* config/avr/avr.opt (mmcu=): Use Enum.
      	* config/avr/t-avr (avr-devices.o): Update dependencies.
      	($(srcdir)/config/avr/avr-tables.opt): New.
      	* target.def (help): Remove.
      	* doc/tm.texi.in (TARGET_HELP): Remove.
      	* doc/tm.texi: Regenerate.
      	* opts.c: Don't include target.h.
      	(common_handle_option): Don't call targetm.help.
      	* system.h (TARGET_HELP): Poison.
      	* Makefile.in (opts.o): Update dependencies.
      
      From-SVN: r175248
      Joseph Myers committed
  27. 14 Jun, 2011 1 commit
    • common-target-def.h, [...]: New files. · c49a6962
      	* common/common-target-def.h, common/common-target.def,
      	common/common-target.h, common/config/default-common.c,
      	common/config/pa/pa-common.c: New files.
      	* Makefile.in (common_out_file, common_out_object_file,
      	COMMON_TARGET_H, COMMON_TARGET_DEF_H): New.
      	(OBJS-libcommon-target): Include $(common_out_object_file).
      	(prefix.o): Update dependencies.
      	($(common_out_object_file), common/common-target-hooks-def.h,
      	s-common-target-hooks-def-h): New.
      	(s-tm-texi): Also check timestamp on common-target.def.
      	(build/genhooks.o): Update dependencies.
      	* config.gcc (common_out_file, target_has_targetm_common): Define.
      	* config/pa/som.h (ALWAYS_STRIP_DOTDOT): Replace with
      	TARGET_ALWAYS_STRIP_DOTDOT.
      	* configure.ac (common_out_object_file): Define.
      	(common_out_file, common_out_object_file): Substitute.
      	(common): Create directory.
      	* configure: Regenerate.
      	* doc/tm.texi.in (targetm_common): Document.
      	(TARGET_ALWAYS_STRIP_DOTDOT): Add @hook entry.
      	* doc/tm.texi: Regenerate.
      	* genhooks.c (hook_array): Also include common/common-target.def.
      	* prefix.c (tm.h): Don't include.
      	(common/common-target.h): Include.
      	(ALWAYS_STRIP_DOTDOT): Don't define.
      	(update_path): Use targetm_common.always_strip_dotdot instead of
      	ALWAYS_STRIP_DOTDOT.
      	* system.h (ALWAYS_STRIP_DOTDOT): Poison.
      
      From-SVN: r175052
      Joseph Myers committed
  28. 10 Jun, 2011 2 commits
  29. 09 Jun, 2011 1 commit
    • netbsd.h (ENABLE_EXECUTE_STACK): Remove. · 10e48e39
      2011-05-29  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
      	    Joseph Myers  <joseph@codesourcery.com>
      
      	gcc:
      	* config/alpha/netbsd.h (ENABLE_EXECUTE_STACK): Remove.
      	(HAVE_ENABLE_EXECUTE_STACK): Define.
      	* config/alpha/osf5.h (ENABLE_EXECUTE_STACK): Remove.
      	(HAVE_ENABLE_EXECUTE_STACK): Define.
      	* config/darwin.h (ENABLE_EXECUTE_STACK): Remove.
      	(HAVE_ENABLE_EXECUTE_STACK): Define.
      	* config/i386/mingw32.h (MINGW_ENABLE_EXECUTE_STACK): Remove.
      	(ENABLE_EXECUTE_STACK): Remove.
      	(HAVE_ENABLE_EXECUTE_STACK): Define.
      	[IN_LIBGCC2]: Don't include <windows.h>.
      	* config/i386/netbsd-elf.h (ENABLE_EXECUTE_STACK): Remove.
      	(HAVE_ENABLE_EXECUTE_STACK): Define.
      	* config/i386/netbsd64.h (ENABLE_EXECUTE_STACK): Remove.
      	(HAVE_ENABLE_EXECUTE_STACK): Define.
      	* config/netbsd.h (NETBSD_ENABLE_EXECUTE_STACK): Remove.
      	* config/openbsd.h (ENABLE_EXECUTE_STACK): Remove.
      	(HAVE_ENABLE_EXECUTE_STACK): Define.
      	* config/sol2.h (ENABLE_EXECUTE_STACK): Remove.
      	(HAVE_ENABLE_EXECUTE_STACK): Define.
      	* config/sparc/freebsd.h (ENABLE_EXECUTE_STACK): Remove.
      	(HAVE_ENABLE_EXECUTE_STACK): Define.
      	* config/sparc/netbsd-elf.h (ENABLE_EXECUTE_STACK): Remove.
      	(HAVE_ENABLE_EXECUTE_STACK): Define.
      	* config/alpha/alpha.c (alpha_trampoline_init): Test
      	HAVE_ENABLE_EXECUTE_STACK.
      	* config/i386/i386.c (ix86_trampoline_init): Likewise.
      	* config/sparc/sparc.c (sparc32_initialize_trampoline): Likewise.
      	(sparc64_initialize_trampoline): Likewise.
      	* libgcc2.c [L_enable_execute_stack]: Remove.
      	* system.h (ENABLE_EXECUTE_STACK): Poison.
      	* doc/tm.texi.in (Trampolines, ENABLE_EXECUTE_STACK): Remove.
      	* doc/tm.texi: Regenerate.
      	* Makefile.in (LIBGCC2_CFLAGS): Add -fbuilding-libgcc.
      
      	gcc/c-family:
      	* c.opt (fbuilding-libgcc): New option.
      	* c-cppbuiltin.c (c_cpp_builtins): Define
      	__LIBGCC_TRAMPOLINE_SIZE__ if flag_building_libgcc.
      
      	libgcc:
      	* enable-execute-stack-empty.c: New file.
      	* enable-execute-stack-mprotect.c: New file.
      	* config/i386/enable-execute-stack-mingw32.c: New file.
      	* config.host (enable_execute_stack): New variable.
      	Select appropriate variants.
      	* configure.ac: Link enable-execute-stack.c to
      	$enable_execute_stack.
      	* configure: Regenerate.
      	* Makefile.in (LIB2ADD): Add enable-execute-stack.c.
      	(lib2funcs): Remove _enable_execute_stack.
      
      Co-Authored-By: Joseph Myers <joseph@codesourcery.com>
      
      From-SVN: r174843
      Rainer Orth committed
  30. 03 Jun, 2011 1 commit
    • linux.h (MD_UNWIND_SUPPORT): Remove. · 58cd1d70
      	gcc:
      	* config/alpha/linux.h (MD_UNWIND_SUPPORT): Remove.
      	* config/alpha/osf5.h (MD_UNWIND_SUPPORT): Remove.
      	* config/alpha/vms.h (MD_UNWIND_SUPPORT): Remove.
      	* config/bfin/linux.h (MD_UNWIND_SUPPORT): Remove.
      	* config/bfin/uclinux.h (MD_UNWIND_SUPPORT): Remove.
      	* config/i386/linux.h (MD_UNWIND_SUPPORT): Remove.
      	* config/i386/linux64.h (MD_UNWIND_SUPPORT): Remove.
      	* config/i386/sol2.h (MD_UNWIND_SUPPORT): Remove.
      	* config/i386/mingw32.h (MD_UNWIND_SUPPORT): Remove.
      	* config/ia64/linux.h (MD_UNWIND_SUPPORT): Remove.
      	* config/ia64/vms.h (MD_UNWIND_SUPPORT): Remove.
      	* config/m68k/linux.h (MD_UNWIND_SUPPORT): Remove.
      	* config/mips/linux.h (MD_UNWIND_SUPPORT): Remove.
      	* config/pa/pa-hpux.h (MD_UNWIND_SUPPORT): Remove.
      	* config/pa/pa32-linux.h (MD_UNWIND_SUPPORT): Remove.
      	* config/rs6000/darwin.h (MD_UNWIND_SUPPORT): Remove.
      	* config/rs6000/linux.h (MD_UNWIND_SUPPORT): Remove.
      	* config/rs6000/linux64.h (MD_UNWIND_SUPPORT): Remove.
      	* config/s390/linux.h (MD_UNWIND_SUPPORT): Remove.
      	* config/s390/tpf.h (MD_UNWIND_SUPPORT): Remove.
      	* config/sh/linux.h (MD_UNWIND_SUPPORT): Remove.
      	* config/sparc/linux.h (MD_UNWIND_SUPPORT): Remove.
      	* config/sparc/linux64.h (MD_UNWIND_SUPPORT): Remove.
      	* config/sparc/sol2.h (MD_UNWIND_SUPPORT): Remove.
      	* config/xtensa/linux.h (MD_UNWIND_SUPPORT): Remove.
      	* config/alpha/linux-unwind.h: Move to ../libgcc/config/alpha.
      	* config/alpha/osf5-unwind.h: Move to ../libgcc/config/alpha.
      	* config/alpha/vms-unwind.h: Move to ../libgcc/config/alpha.
      	* config/bfin/linux-unwind.h: Move to ../libgcc/config/bfin.
      	* config/i386/linux-unwind.h: Move to ../libgcc/config/i386.
      	* config/i386/sol2-unwind.h: Move to ../libgcc/config/i386.
      	* config/i386/w32-unwind.h: Move to ../libgcc/config/i386.
      	* config/ia64/linux-unwind.h: Move to ../libgcc/config/ia64.
      	* config/ia64/vms-unwind.h: Move to ../libgcc/config/ia64.
      	* config/m68k/linux-unwind.h: Move to ../libgcc/config/m68k.
      	* config/mips/linux-unwind.h: Move to ../libgcc/config/mips.
      	* config/pa/hpux-unwind.h: Move to ../libgcc/config/pa.
      	* config/pa/linux-unwind.h: Move to ../libgcc/config/pa.
      	* config/rs6000/darwin-unwind.h: Move to ../libgcc/config/rs6000.
      	* config/rs6000/linux-unwind.h: Move to ../libgcc/config/rs6000.
      	* config/s390/linux-unwind.h: Move to ../libgcc/config/s390.
      	* config/s390/tpf-unwind.h: Move to ../libgcc/config/s390.
      	* config/sh/linux-unwind.h: Move to ../libgcc/config/sh.
      	* config/sparc/linux-unwind.h: Move to ../libgcc/config/sparc.
      	* config/sparc/sol2-unwind.h: Move to ../libgcc/config/sparc.
      	* config/xtensa/linux-unwind.h: Move to ../libgcc/config/xtensa.
      	* config/darwin9.h (DARWIN_LIBSYSTEM_HAS_UNWIND): Remove.
      	* system.h (MD_UNWIND_SUPPORT): Poison.
      	* doc/tm.texi.in (Exception Handling, MD_UNWIND_SUPPORT): Remove.
      	* doc/tm.texi: Regenerate.
      	* unwind-dw2.c: Include md-unwind-support.h instead of
      	MD_UNWIND_SUPPORT.
      	* config/ia64/unwind-ia64.c: Likewise.
      	* config/xtensa/unwind-dw2-xtensa.c: Likewise.
      
      	libgcc:
      	* config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
      	* config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
      	* config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
      	* config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
      	* config/i386/linux-unwind.h: Move from ../gcc/config/i386.
      	* config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
      	* config/i386/w32-unwind.h: Move from ../gcc/config/i386.
      	Wrap in !__MINGW64__.
      	* config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
      	* config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
      	* config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
      	* config/mips/linux-unwind.h: Move from ../gcc/config/mips.
      	* config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
      	* config/pa/linux-unwind.h: Move from ../gcc/config/pa.
      	* config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
      	Wrap in !__LP64__.
      	* config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
      	* config/s390/linux-unwind.h: Move from ../gcc/config/s390.
      	* config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
      	* config/sh/linux-unwind.h: Move from ../gcc/config/sh.
      	* config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
      	* config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
      	* config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
      	* config/no-unwind.h: New file.
      	* config.host (md_unwind_header): Document.
      	Define.
      	(alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
      	alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
      	hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
      	hppa[12]*-*-hpux11*): Set md_unwind_header.
      	(i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
      	Set md_unwind_header.
      	(x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
      	(i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
      	(i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
      	m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
      	powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
      	s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
      	sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
      	md_unwind_header.
      	* configure.ac: Link md-unwind-support.h to $md_unwind_header.
      	* configure: Regenerate.
      
      From-SVN: r174613
      Rainer Orth committed
  31. 25 May, 2011 1 commit
    • libgcc2.h (__NW, __NDW): Define using a __gnu_ prefix if LIBGCC2_GNU_PREFIX is defined. · cdbf4541
      	gcc/
      	* libgcc2.h (__NW, __NDW): Define using a __gnu_ prefix if
      	LIBGCC2_GNU_PREFIX is defined.
      	(__N): New macro.
      	(__powisf2, __powidf2, __powitf2, __powixf2, __bswapsi2, __bswapdi2,
      	__mulsc3, __muldc3, __mulxc3, __multc3, __divsc3, __divdc3, __divxc3,
      	__divtc3, __udiv_w_sdiv, __clear_cache, __enable_execute_stack,
      	__clz_tab): Define using __N.
      	(__absvsi2, __negvsi2, __addvsi3, __subvsi3, __mulvsi3): Likewise if
      	COMPAT_SIMODE_TRAPPING_ARITHMETIC.
      	* target.def (libfunc_gnu_prefix): New hook.
      	* doc/tm.texi.in (LIBGCC2_GNU_PREFIX): Document.
      	(TARGET_LIBFUNC_GNU_PREFIX): Add hook.
      	* doc/tm.texi: Regenerate.
      	* system.h (LIBGCC2_GNU_PREFIX): Poison.
      	* optabs.c (gen_libfunc): Take the libfunc_gnu_prefix hook into
      	account.
      	(gen_interclass_conv_libfunc, gen_intraclass_conv_libfunc): Likewise.
      	(init_optabs): Likewise for the bswap libfuncs.
      	* tree.c (build_common_builtin_nodes): Likewise for complex multiply
      	and divide.
      	* config/t-slibgcc-elf-ver (SHLIB_MAPFILES): Use $$(libgcc_objdir).
      	* config/t-slibgcc-sld (SHLIB_MAPFILES): Likewise.
      	* libgcc-std.ver: Remove.
      	* Makefile.in (srcdirify): Handle $$(libgcc_objdir).
      	* config/frv/t-linux (SHLIB_MAPFILES): Use $$(libgcc_objdir) for
      	libgcc-std.ver.
      	* config/i386/t-linux (SHLIB_MAPFILES): Likewise.
      	* config/mips/t-slibgcc-irix (SHLIB_MAPFILES): Likewise.
      	* config/rs6000/t-aix43 (SHLIB_MAPFILES): Likewise.
      	* config/rs6000/t-aix52 (SHLIB_MAPFILES): Likewise.
      	* config/sparc/t-linux (SHLIB_MAPFILES): Likewise.
      	* config/i386/t-linux (SHLIB_MAPFILES): Likewise.
      	* config/i386/t-linux (SHLIB_MAPFILES): Likewise.
      	* config/fixed-bit.h (FIXED_OP): Define differently depending on
      	LIBGCC2_GNU_PREFIX. All uses changed not to pass leading underscores.
      	(FIXED_CONVERT_OP, FIXED_CONVERT_OP2): Likewise.
      
      	libgcc/
      	* libgcc-std.ver.in: New file.
      	* Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
      	variables.
      	(libgcc-std.ver): New rule.
      	* config/t-gnu-prefix: New file.
      
      From-SVN: r174187
      Bernd Schmidt committed
  32. 10 May, 2011 1 commit
    • config.gcc (libgcc_tm_file): Define instead of including files from… · 80cf2e08
      config.gcc (libgcc_tm_file): Define instead of including files from ../../libgcc/config/ in tm_file.
      
      gcc:
      	* config.gcc (libgcc_tm_file): Define instead of including files
      	from ../../libgcc/config/ in tm_file.
      	* configure.ac (libgcc_tm_file_list, libgcc_tm_include_list):
      	Define.
      	* configure: Regenerate.
      	* Makefile.in (libgcc_tm_file_list, libgcc_tm_include_list,
      	libgcc_tm.h, cs-libgcc_tm.h): New.
      	(TM_H): Include libgcc_tm.h and $(libgcc_tm_file_list).
      	(clean): Remove libgcc_tm.h.
      	* config/arm/symbian.h (RENAME_LIBRARY): Remove.
      	* mkconfig.sh: Include libgcc_tm.h in tm.h if USED_FOR_TARGET.
      	* system.h (DECLARE_LIBRARY_RENAMES): Poison.
      
      libgcc:
      	* config/arm/symbian-lib.h: New.
      
      From-SVN: r173619
      Joseph Myers committed
  33. 25 Apr, 2011 1 commit
  34. 21 Apr, 2011 1 commit
    • target.def (legitimate_constant_p): New hook. · 1a627b35
      gcc/
      	* target.def (legitimate_constant_p): New hook.
      	* doc/tm.texi.in (LEGITIMATE_CONSTANT_P): Replace with...
      	(TARGET_LEGITIMATE_CONSTANT_P): ...this.
      	* doc/tm.texi: Regenerate.
      	* hooks.h (hook_bool_mode_rtx_true): Declare.
      	* hooks.c (hook_bool_mode_rtx_true): Define.
      	* system.h (LEGITIMATE_CONSTANT_P): Poison.
      	* calls.c (precompute_register_parameters): Replace uses of
      	LEGITIMATE_CONSTANT_P with targetm.legitimate_constant_p.
      	(emit_library_call_value_1): Likewise.
      	* expr.c (move_block_to_reg, can_store_by_pieces, emit_move_insn)
      	(compress_float_constant, emit_push_insn, expand_expr_real_1): Likewise.
      	* ira-costs.c (scan_one_insn): Likewise.
      	* recog.c (general_operand, immediate_operand): Likewise.
      	* reload.c (find_reloads_toplev, find_reloads_address_part): Likewise.
      	* reload1.c (init_eliminable_invariants): Likewise.
      
      	* config/alpha/alpha-protos.h (alpha_legitimate_constant_p): Add a
      	mode argument.
      	* config/alpha/alpha.h (LEGITIMATE_CONSTANT_P): Delete.
      	* config/alpha/alpha.c (alpha_legitimate_constant_p): Add a mode
      	argument.
      	(TARGET_LEGITIMATE_CONSTANT_P): Define.
      	* config/alpha/predicates.md (input_operand): Update call to
      	alpha_legitimate_constant_p.
      
      	* config/arm/arm-protos.h (arm_cannot_force_const_mem): Delete.
      	* config/arm/arm.h (ARM_LEGITIMATE_CONSTANT_P): Likewise.
      	(THUMB_LEGITIMATE_CONSTANT_P, LEGITIMATE_CONSTANT_P): Likewise.
      	* config/arm/arm.c (TARGET_LEGITIMATE_CONSTANT_P): Define.
      	(arm_legitimate_constant_p_1, thumb_legitimate_constant_p)
      	(arm_legitimate_constant_p): New functions.
      	(arm_cannot_force_const_mem): Make static.
      
      	* config/avr/avr.h (LEGITIMATE_CONSTANT_P): Delete.
      
      	* config/bfin/bfin-protos.h (bfin_legitimate_constant_p): Delete.
      	* config/bfin/bfin.h (LEGITIMATE_CONSTANT_P): Delete.
      	* config/bfin/bfin.c (expand_move): Use targetm.legitimate_constant_p
      	instead of bfin_legitimate_constant_p.
      	(bfin_legitimate_constant_p): Make static.  Add a mode argument.
      	(TARGET_LEGITIMATE_CONSTANT_P): Define.
      
      	* config/cris/cris.h (LEGITIMATE_CONSTANT_P): Delete.
      
      	* config/fr30/fr30.h (LEGITIMATE_CONSTANT_P): Delete.
      
      	* config/frv/frv-protos.h (frv_legitimate_constant_p): Delete.
      	* config/frv/frv.h (LEGITIMATE_CONSTANT_P): Delete.
      	* config/frv/frv.c (TARGET_LEGITIMATE_CONSTANT_P): Define.
      	(frv_legitimate_constant_p): Make static.  Add a mode argument.
      
      	* config/h8300/h8300-protos.h (h8300_legitimate_constant_p): Delete.
      	* config/h8300/h8300.h (LEGITIMATE_CONSTANT_P): Likewise.
      	* config/h8300/h8300.c (h8300_legitimate_constant_p): Likewise.
      
      	* config/i386/i386-protos.h (legitimate_constant_p): Delete.
      	* config/i386/i386.h (LEGITIMATE_CONSTANT_P): Likewise.
      	* config/i386/i386.c (legitimate_constant_p): Rename to...
      	(ix86_legitimate_constant_p): ...this.  Make static.  Add a mode
      	argument.
      	(ix86_cannot_force_const_mem): Update accordingly.
      	(ix86_legitimate_address_p): Likewise.
      	(TARGET_LEGITIMATE_CONSTANT_P): Define.
      	* config/i386/i386.md: Update commentary.
      
      	* config/ia64/ia64-protos.h (ia64_legitimate_constant_p): Delete.
      	* config/ia64/ia64.h (LEGITIMATE_CONSTANT_P): Likewise.
      	* config/ia64/ia64.c (TARGET_LEGITIMATE_CONSTANT_P): Define.
      	(ia64_legitimate_constant_p): Make static.  Add a mode argument.
      
      	* config/iq2000/iq2000.h (LEGITIMATE_CONSTANT_P): Delete.
      
      	* config/lm32/lm32-protos.h (lm32_legitimate_constant_p): Delete.
      	* config/lm32/lm32.h (LEGITIMATE_CONSTANT_P): Likewise.
      	* config/lm32/lm32.c (TARGET_LEGITIMATE_CONSTANT_P): Define.
      	(lm32_legitimate_constant_p): Make static.  Add a mode argument.
      
      	* config/m32c/m32c-protos.h (m32c_legitimate_constant_p): Delete.
      	* config/m32c/m32c.h (LEGITIMATE_CONSTANT_P): Likewise.
      	* config/m32c/m32c.c (m32c_legitimate_constant_p): Likewise.
      
      	* config/m32r/m32r.h (LEGITIMATE_CONSTANT_P): Delete.
      	* config/m32r/m32r.c (TARGET_LEGITIMATE_CONSTANT_P): Define.
      	(m32r_legitimate_constant_p): New function.
      
      	* config/m68k/m68k-protos.h (m68k_legitimate_constant_p): Declare.
      	* config/m68k/m68k.h (CONSTANT_ADDRESS_P): Call it instead of
      	LEGITIMATE_CONSTANT_P.
      	(LEGITIMATE_CONSTANT_P): Delete.
      	* config/m68k/m68k.c (m68k_expand_prologue): Call
      	m68k_legitimate_constant_p instead of LEGITIMATE_CONSTANT_P.
      	(m68k_legitimate_constant_p): New function.
      	* config/m68k/m68k.md: Update comments.
      
      	* config/mcore/mcore.h (LEGITIMATE_CONSTANT_P): Delete.
      	* config/mcore/mcore.c (TARGET_LEGITIMATE_CONSTANT_P): Define.
      	(mcore_legitimate_constant_p): New function.
      
      	* config/mep/mep-protos.h (mep_legitimate_constant_p): Delete.
      	* config/mep/mep.h (LEGITIMATE_CONSTANT_P): Likewise.
      	* config/mep/mep.c (mep_legitimate_constant_p): Make static.
      	Add a mode argument.
      	(mep_legitimate_address): Update accordingly.
      	(TARGET_LEGITIMATE_CONSTANT_P): Define.
      
      	* config/microblaze/microblaze-protos.h (microblaze_const_double_ok):
      	Delete.
      	* config/microblaze/microblaze.h (LEGITIMATE_CONSTANT_P): Likewise.
      	* config/microblaze/microblaze.c (microblaze_const_double_ok): Make
      	static.  Check OP's mode for VOIDmode.
      	(microblaze_legitimate_constant_p): New function.
      	(TARGET_LEGITIMATE_CONSTANT_P): Define.
      
      	* config/mips/mips.h (LEGITIMATE_CONSTANT_P): Delete.
      	* config/mips/mips.c (mips_legitimate_constant_p): New function.
      	(mips_cannot_force_const_mem): Use it instead of LEGITIMATE_CONSTANT_P.
      	(TARGET_LEGITIMATE_CONSTANT_P): Define.
      	* config/mips/predicates.md: Update comments.
      
      	* config/mmix/mmix-protos.h (mmix_legitimate_constant_p): Delete.
      	* config/mmix/mmix.h (LEGITIMATE_CONSTANT_P): Likewise.
      	* config/mmix/mmix.c (TARGET_LEGITIMATE_CONSTANT_P): Define.
      	(mmix_legitimate_constant_p): Make static, return a bool, and take
      	a mode argument.
      	(mmix_print_operand_address): Update accordingly.
      
      	* config/mn10300/mn10300-protos.h (mn10300_legitimate_constant_p):
      	Delete.
      	* config/mn10300/mn10300.h (LEGITIMATE_CONSTANT_P): Likewise.
      	* config/mn10300/mn10300.c (mn10300_legitimate_constant_p):
      	Make static.  Add a mode argument.
      	(TARGET_LEGITIMATE_CONSTANT_P): Define.
      
      	* config/moxie/moxie.h (LEGITIMATE_CONSTANT_P): Delete.
      
      	* config/pa/pa.h (LEGITIMATE_CONSTANT_P): Delete.
      	* config/pa/pa.c (TARGET_LEGITIMATE_CONSTANT_P): Define.
      	(pa_legitimate_constant_p): New function.
      
      	* config/picochip/picochip.h (LEGITIMATE_CONSTANT_P): Delete.
      
      	* config/pdp11/pdp11.h (LEGITIMATE_CONSTANT_P): Delete.
      	* config/pdp11/pdp11.c (TARGET_LEGITIMATE_CONSTANT_P): Define.
      	(pdp11_legitimate_constant_p): New function.
      
      	* config/rs6000/rs6000.h (LEGITIMATE_CONSTANT_P): Delete.
      	* config/rs6000/rs6000.c (TARGET_LEGITIMATE_CONSTANT_P): Define.
      	(rs6000_legitimate_constant_p): New function.
      
      	* config/rx/rx-protos.h (rx_is_legitimate_constant): Replace with...
      	(rx_legitimate_constant_p): ...this.
      	* config/rx/rx.h (LEGITIMATE_CONSTANT_P): Delete.
      	* config/rx/rx.c (rx_is_legitimate_constant): Replace with...
      	(rx_legitimate_constant_p): ...this.
      	(TARGET_LEGITIMATE_CONSTANT_P): Define.
      	* config/rx/rx.md (mov<register_modes:mode>): Update accordingly.
      
      	* config/s390/s390-protos.h (legitimate_constant_p): Delete.
      	* config/s390/s390.h (LEGITIMATE_CONSTANT_P): Likewise.
      	* config/s390/s390.c (legitimate_constant_p): Rename to...
      	(s390_legitimate_constant_p): ...this.  Make static, return a bool,
      	and add a mode argument.
      	(TARGET_LEGITIMATE_CONSTANT_P): Define.
      
      	* config/score/score.h (LEGITIMATE_CONSTANT_P): Delete.
      
      	* config/sh/sh.h (LEGITIMATE_CONSTANT_P): Delete.
      	* config/sh/sh.c (TARGET_LEGITIMATE_CONSTANT_P): Define.
      	(sh_legitimate_constant_p): New function.
      
      	* config/sparc/sparc-protos.h (legitimate_constant_p): Delete.
      	* config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Delete.
      	* config/sparc/sparc.c (TARGET_LEGITIMATE_CONSTANT_P): Define.
      	(legitimate_constant_p): Rename to...
      	(sparc_legitimate_constant_p): ...this.  Make static.  Add a mode
      	argument.
      	(constant_address_p): Update accordingly.
      
      	* config/spu/spu-protos.h (spu_legitimate_constant_p): Add a mode
      	argument and return a bool.
      	* config/spu/spu.h (LEGITIMATE_CONSTANT_P): Delete.
      	* config/spu/spu.c (TARGET_LEGITIMATE_CONSTANT_P): Define.
      	(spu_legitimate_constant_p): Add a mode argument and return a bool.
      	(spu_rtx_costs): Update accordingly.
      	* config/spu/predicates.md (vec_imm_operand): Likewise.
      
      	* config/stormy16/stormy16.h (LEGITIMATE_CONSTANT_P): Delete.
      
      	* config/v850/v850.h (LEGITIMATE_CONSTANT_P): Delete.
      	* config/v850/v850.c (v850_legitimate_constant_p): New function.
      	(TARGET_LEGITIMATE_CONSTANT_P): Define.
      
      	* config/vax/vax-protos.h (legitimate_constant_p): Delete.
      	* config/vax/vax.h (LEGITIMATE_CONSTANT_P): Likewise.
      	* config/vax/vax.c (legitimate_constant_p): Likewise.
      
      	* config/xtensa/xtensa.h (LEGITIMATE_CONSTANT_P): Delete.
      	* config/xtensa/xtensa.c (TARGET_LEGITIMATE_CONSTANT_P): Define.
      	(xtensa_legitimate_constant_p): New function.
      
      From-SVN: r172814
      Richard Sandiford committed