1. 22 Mar, 2011 40 commits
    • score.c (score_handle_option): Don't assert that global structures are in use. · 05b12036
      	* config/score/score.c (score_handle_option): Don't assert that
      	global structures are in use.  Access target_flags via opts
      	pointer.  Use value of -march= option to determine target_flags
      	settings.
      	* config/score/score.opt (march=): Use Enum.
      	(score_arch): New Enum and EnumValue entries.
      
      From-SVN: r171329
      Joseph Myers committed
    • mep.c (option_mtiny_specified): Remove. · dd51e35a
      	* config/mep/mep.c (option_mtiny_specified): Remove.
      	(mep_option_override): Move register handling for -mivc2 from
      	mep_handle_option.  Use global_options_set.x_mep_tiny_cutoff
      	instead of option_mtiny_specified.
      	(mep_handle_option): Access target_flags via opts pointer.  Don't
      	assert that global structures are in use.  Defer part of -mivc2
      	handling and move it to mep_option_override.
      	* config/mep/mep.opt (IVC2): New Mask entry.
      	(mivc2): Use Var and Defer instead of Mask.
      
      From-SVN: r171328
      Joseph Myers committed
    • v850-opts.h: New. · 4a8d3d91
      	* config/v850/v850-opts.h: New.
      	* config/v850/v850.c (small_memory): Replace with
      	small_memory_physical_max array.  Make that array static const.
      	(v850_handle_memory_option): Take integer value of argument.  Take
      	gcc_options pointer, option text and location.  Return void.
      	Update for changes to small memory structures.
      	(v850_handle_option): Access target_flags via opts pointer.  Don't
      	assert that global structures are in use.  Update calls to
      	v850_handle_memory_option.
      	(v850_encode_data_area): Update references to small memory
      	settings.
      	* config/v850/v850.h (struct small_memory_info, small_memory):
      	Remove.
      	(enum small_memory_type): Move to v850-opts.h.
      	* config/v850/v850.opt (config/v850/v850-opts.h): New
      	HeaderInclude entry.
      	(small_memory_max): New Variable entry.
      	(msda): Replace by pair of options msda= and msda-.  Use UInteger.
      	(mtda, mzda): Likewise.
      
      From-SVN: r171327
      Joseph Myers committed
    • sh.c (sh_handle_option): Access target_flags via opts pointer. · 117fdbfa
      	* config/sh/sh.c (sh_handle_option): Access target_flags via opts
      	pointer.  Don't assert that global structures are in use.
      
      From-SVN: r171326
      Joseph Myers committed
    • pdp11.c (pdp11_handle_option): Access target_flags via opts pointer. · d715091c
      	* config/pdp11/pdp11.c (pdp11_handle_option): Access target_flags
      	via opts pointer.  Don't assert that global structures are in use.
      
      From-SVN: r171325
      Joseph Myers committed
    • pa-hpux.opt (flag_pa_unix): New Variable entry. · 1bb721dc
      	* config/pa/pa-hpux.opt (flag_pa_unix): New Variable entry.
      	(munix=93): Use Var.
      	* config/pa/pa-hpux1010.opt (munix=95): Use Var.
      	* config/pa/pa-hpux1111.opt (munix=98): Use Var.
      	* config/pa/pa-opts.h: New.
      	* config/pa/pa.c (pa_cpu, flag_pa_unix): Remove.
      	(pa_handle_option): Don't assert that global structures are in
      	use.  Access target_flags via opts pointer.  Don't handle
      	OPT_mschedule_, OPT_mfixed_range_, OPT_munix_93, OPT_munix_95 or
      	OPT_munix_98 here.
      	(pa_option_override): Handle deferred OPT_mfixed_range_.
      
      From-SVN: r171324
      Joseph Myers committed
    • mn10300-opts.h: New. · cd8d8754
      	* config/mn10300/mn10300-opts.h: New.
      	* config/mn10300/mn10300.c (mn10300_processor,
      	mn10300_tune_string): Remove.
      	(mn10300_handle_option): Don't assert that global structures are
      	in use.  Access mn10300_processor via opts pointer.  Don't handle
      	OPT_mtune_ here.
      	* config/mn10300/mn10300.h (enum processor_type): Move to
      	mn10300-opts.h.
      	(mn10300_processor): Remove.
      	* config/mn10300/mn10300.opt (config/mn10300/mn10300-opts.h): New
      	HeaderInclude entry.
      	(mn10300_processor): New Variable entry.
      	(mtune=): Use Var.
      
      From-SVN: r171323
      Joseph Myers committed
    • microblaze.c: Don't include opts.h. · 24e6e6b1
      	* config/microblaze/microblaze.c: Don't include opts.h.
      	(microblaze_handle_option, TARGET_HANDLE_OPTION): Remove.
      	* config/microblaze/microblaze.opt (mxl-stack-check): Use Warn.
      	(mno-clearbss): Use Var and Warn.
      
      From-SVN: r171322
      Joseph Myers committed
    • m32r-opts.h: New. · 8a784afb
      	* config/m32r/m32r-opts.h: New.
      	* config/m32r/m32r.c (m32r_model, m32r_sdata): Remove.
      	(m32r_handle_option): Don't assert that global structures are in
      	use.  Access target_flags and m32r_cache_flush_func via opts
      	pointer.  Don't handle OPT_mmodel_, OPT_msdata_ or
      	OPT_mno_flush_trap here.
      	* config/m32r/m32r.h (Code Models, Small Data Area): Replace by
      	include of m32r-opts.h.
      	* config/m32r/m32r.opt (config/m32r/m32r-opts.h): New
      	HeaderInclude entry.
      	(m32r_model_selected, m32r_sdata_selected): New Variable entries.
      	(mmodel=): Use Enum and Var.
      	(m32r_model): New Enum and EnumValue entries.
      	(mno-flush-trap): Use Var.
      	(msdata=): Use Enum and Var.
      	(m32r_sdata): New Enum and EnumValue entries.
      
      From-SVN: r171321
      Joseph Myers committed
    • m32c.c: Don't include opts.h. · bbfc9a8c
      	* config/m32c/m32c.c: Don't include opts.h.
      	(target_memregs, target_memregs_set, TARGET_HANDLE_OPTION,
      	m32c_handle_option): Remove.
      	(m32c_option_override): Check global_options_set.x_target_memregs
      	instead of target_memregs_set.
      	* config/m32c/m32c.h (target_memregs): Remove.
      	* config/m32c/m32c.opt (memregs=): Use UInteger with integer
      	variable.
      
      From-SVN: r171320
      Joseph Myers committed
    • iq2000-opts.h: New. · e24b8335
      	* config/iq2000/iq2000-opts.h: New.
      	* config/iq2000/iq2000.c: Don't include opts.h.
      	(iq2000_tune, iq2000_handle_option, TARGET_HANDLE_OPTION): Remove.
      	* config/iq2000/iq2000.h (enum processor_type, iq2000_tune):
      	Remove.
      	* config/iq2000/iq2000.opt (config/iq2000/iq2000-opts.h): New
      	HeaderInclude entry.
      	(iq2000_tune): New Variable entry.
      	(march=): Add comment.  Use Enum.
      	(iq2000_arch): New Enum and EnumValue entries.
      	(mcpu=): Use Enum and Var.
      	(iq2000_tune): New Enum and EnumValue entries.
      
      From-SVN: r171318
      Joseph Myers committed
    • ia64-opts.h: New. · e6cc0c98
      	* config/ia64/ia64-opts.h: New.
      	* config/ia64/ia64.c (ia64_tune): Remove.
      	(ia64_handle_option): Don't handle OPT_mfixed_range_ or OPT_mtune_
      	here.  Use error_at.
      	(ia64_option_override): Handle deferred OPT_mfixed_range_.
      	* config/ia64/ia64.h (enum processor_type, ia64_tune): Remove.
      	* config/ia64/ia64.opt (config/ia64/ia64-opts.h): New
      	HeaderInclude entry.
      	(ia64_tune): New Variable entry.
      	(mfixed-range=): Use Defer and Var.
      	(mtune=): Use Enum and Var.
      	(ia64_tune): New Enum and EnumValue entries.
      
      From-SVN: r171317
      Joseph Myers committed
    • frv-opts.h: New. · db25893c
      	* config/frv/frv-opts.h: New.
      	* config/frv/frv-protos.h (enum frv_cpu, frv_cpu_t): Move to
      	frv-opts.h.
      	(frv_cpu_type): Remove.
      	* config/frv/frv.c: Don't include opts.h.
      	(frv_cpu_type, frv_handle_option, TARGET_HANDLE_OPTION): Remove.
      	* config/frv/frv.opt (config/frv/frv-opts.h): New HeaderInclude
      	entry.
      	(frv_cpu_type): New Variable entry.
      	(frv_cpu): New Enum and EnumValue entries.
      
      From-SVN: r171316
      Joseph Myers committed
    • cris.c (cris_handle_option): Access target_flags via opts pointer. · 6c223f5d
      	* config/cris/cris.c (cris_handle_option): Access target_flags via
      	opts pointer.  Don't assert that global structures are in use.
      	Don't call CRIS_SUBTARGET_HANDLE_OPTION.
      	* config/cris/cris.h (CRIS_SUBTARGET_HANDLE_OPTION): Don't define.
      
      From-SVN: r171315
      Joseph Myers committed
    • bfin-opts.h: New. · bbd399cf
      	* config/bfin/bfin-opts.h: New.
      	* config/bfin/bfin.c (bfin_lib_id_given, bfin_cpu_type,
      	bfin_si_revision, bfin_workarounds): Remove.
      	(bfin_cpus): Make static const.
      	(bfin_load_pic_reg): Check global_options_set.x_bfin_library_id
      	not bfin_lib_id_given.
      	(bfin_handle_option): Don't set bfin_lib_id_given.  Access
      	bfin_cpu_type, bfin_si_revision and bfin_workarounds via opts
      	pointer. Use error_at.  Don't assert that global structures are in
      	use.
      	* config/bfin/bfin.h: Include bfin-opts.h.
      	(enum bfin_cpu_type, bfin_cpu_t): Move to bfin-opts.h.
      	(bfin_cpu_type, bfin_si_revision, bfin_workarounds): Remove.
      	* bfin.opt (config/bfin/bfin-opts.h): New HeaderInclude entry.
      	(bfin_cpu_type, bfin_si_revision, bfin_workarounds): New Variable
      	entries.
      
      From-SVN: r171314
      Joseph Myers committed
    • arm.opt (mhard-float, [...]): Use Alias. · 5e1b4d5a
      	* config/arm/arm.opt (mhard-float, msoft-float): Use Alias.
      	* config/arm/arm.c (arm_handle_option): Don't handle -mhard-float
      	or -msoft-float here.
      	* config/arm/arm.h (CPP_SPEC): Handle -mfloat-abi=*, not
      	-msoft-float and -mhard-float.
      	(OPTION_DEFAULT_SPECS): Don't handle -mhard-float and
      	-msoft-float.
      	* config/arm/coff.h (MULTILIB_DEFAULTS): Use mfloat-abi=soft, not
      	msoft-float.
      	* config/arm/elf.h (ASM_SPEC): Don't handle -mhard-float and
      	-msoft-float.
      	(MULTILIB_DEFAULTS): Use mfloat-abi=soft, not msoft-float.
      	* config/arm/linux-elf.h (MULTILIB_DEFAULTS): Use mfloat-abi=hard,
      	not mhard-float.
      	(LIBGCC_SPEC): Don't handle -msoft-float.
      	* config/arm/netbsd-elf.h (SUBTARGET_ASM_FLOAT_SPEC): Don't handle
      	-mhard-float.
      	* config/arm/pe.h (MULTILIB_DEFAULTS): Use mfloat-abi=soft, not
      	msoft-float.
      	* config/arm/rtems-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Handle
      	-mfloat-abi=*, not -msoft-float and -mhard-float.
      	* config/arm/semi.h((ASM_SPEC): Don't handle -mhard-float and
      	-msoft-float.
      	* config/arm/t-arm-elf (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS):
      	Use mfloat-abi=hard and mfloat-abi=soft in comments, not
      	mhard-float and msoft-float.
      	* config/arm/t-linux (MULTILIB_OPTIONS): Use mfloat-abi=hard and
      	mfloat-abi=soft in comments, not mhard-float and msoft-float.
      	* config/arm/t-rtems (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS): Use
      	mfloat-abi=soft and mfloat-abi=hard, not msoft-float and
      	mhard-float.
      	* config/arm/t-strongarm-elf (MULTILIB_OPTIONS): Use
      	mfloat-abi=hard and mfloat-abi=soft, not mhard-float and
      	msoft-float.
      	* config/arm/t-wince-pe (MULTILIB_OPTIONS): Use mfloat-abi=hard,
      	not mhard-float.
      	* config/arm/wince-pe.h (MULTILIB_DEFAULTS): Use mfloat-abi=soft,
      	not msoft-float.
      
      From-SVN: r171313
      Joseph Myers committed
    • Remove alpha-winnt code from the backend. · 800d1de1
      From-SVN: r171312
      Richard Henderson committed
    • alpha.c (alpha_handle_option): Access target_flags via opts pointer. · c59ddd2b
      	* config/alpha/alpha.c (alpha_handle_option): Access target_flags
      	via opts pointer.  Use error_at.  Don't assert that global
      	structures are in use.
      
      From-SVN: r171311
      Joseph Myers committed
    • i386.c (ix86_isa_flags_explicit): Remove. · 1333f97f
      	* config/i386/i386.c (ix86_isa_flags_explicit): Remove.
      	(ix86_handle_option): Access ix86_isa_flags and
      	ix86_isa_flags_explicit via opts pointer.  Don't assert that
      	global structures are in use.
      	(ix86_function_specific_save, ix86_function_specific_restore):
      	Update ix86_isa_flags_explicit field name.
      	* config/i386/i386.opt (ix86_isa_flags_explicit): New Variable
      	entry.
      	(ix86_isa_flags_explicit): Rename TargetSave entry to
      	x_ix86_isa_flags_explicit.
      
      From-SVN: r171310
      Joseph Myers committed
    • Remove alpha-unicosmk code from the backend. · 75db85d8
      From-SVN: r171309
      Richard Henderson committed
    • target.def (handle_option): Take gcc_options and cl_decoded_option pointers and location_t. · 96e45421
      	* target.def (handle_option): Take gcc_options and
      	cl_decoded_option pointers and location_t.
      	* doc/tm.texi.in (TARGET_HANDLE_OPTION): Update documentation.
      	* doc/tm.texi: Regenerate.
      	* hooks.c (hook_bool_size_t_constcharptr_int_true): Remove.
      	* hooks.h (hook_bool_size_t_constcharptr_int_true): Don't declare.
      	* lto-opts.c (lto_reissue_options): Generate option structure for
      	targetm.handle_option call.
      	* opts.c (target_handle_option): Update call to
      	targetm.handle_option.  Remove assertions about values now passed
      	down to hook.
      	* targhooks.c (default_target_handle_option): New.
      	* targhooks.h (default_target_handle_option): Declare.
      	* config/alpha/alpha.c: Include opts.h.
      	(alpha_handle_option): Update to new hook interface.
      	* config/arm/arm.c: Include opts.h.
      	(arm_handle_option): Update to new hook interface.
      	* config/arm/t-arm (arm.o): Update dependencies.
      	* config/bfin/bfin.c: Include opts.h.
      	(bfin_handle_option): Update to new hook interface.
      	* config/cris/cris.c: Include opts.h.
      	(cris_handle_option): Update to new hook interface.
      	* config/frv/frv.c: Include opts.h.
      	(frv_handle_option): Update to new hook interface.
      	* config/i386/i386.c: Include opts.h.
      	(ix86_handle_option): Update to new hook interface.
      	(ix86_valid_target_attribute_inner_p): Generate option structure
      	for call to ix86_handle_option.
      	* config/i386/t-i386 (i386.o): Update dependencies.
      	* config/ia64/ia64.c: Include opts.h.
      	(ia64_handle_option): Update to new hook interface.
      	* config/ia64/t-ia64 (ia64.o): Update dependencies.
      	* config/iq2000/iq2000.c: Include opts.h.
      	(iq2000_handle_option): Update to new hook interface.
      	* config/m32c/m32c.c: Include opts.h.
      	(m32c_handle_option): Update to new hook interface.
      	* config/m32r/m32r.c: Include opts.h.
      	(m32r_handle_option): Update to new hook interface.
      	* config/m68k/m68k.c: Include opts.h.
      	(m68k_handle_option): Update to new hook interface.
      	* config/mep/mep.c: Include opts.h.
      	(mep_handle_option): Update to new hook interface.
      	* config/microblaze/microblaze.c: Include opts.h.
      	(microblaze_handle_option): Update to new hook interface.
      	* config/mips/mips.c: Include opts.h.
      	(mips_handle_option): Update to new hook interface.
      	* config/mn10300/mn10300.c: Include opts.h.
      	(mn10300_handle_option): Update to new hook interface.
      	* config/pa/pa.c: Include opts.h.
      	(pa_handle_option): Update to new hook interface.
      	* config/pdp11/pdp11.c: Include opts.h.
      	(pdp11_handle_option): Update to new hook interface.
      	* config/rs6000/rs6000.c: Include opts.h.
      	(rs6000_handle_option): Update to new hook interface.
      	* config/rs6000/t-rs6000 (rs6000.o): Update dependencies.
      	* config/rx/rx.c: Include opts.h.
      	(rx_handle_option): Update to new hook interface.
      	* config/s390/s390.c: Include opts.h.
      	(s390_handle_option): Update to new hook interface.
      	* config/score/score.c: Include opts.h.
      	(score_handle_option): Update to new hook interface.
      	* config/sh/sh.c: Include opts.h.
      	(sh_handle_option): Update to new hook interface.
      	* config/sparc/sparc.c: Include opts.h.
      	(sparc_handle_option): Update to new hook interface.
      	* config/v850/v850.c: Include opts.h.
      	(v850_handle_option): Update to new hook interface.
      
      From-SVN: r171308
      Joseph Myers committed
    • gcc.c (driver_unknown_option_callback): Only permit and save unknown -Wno- options. · 66017846
      	* gcc.c (driver_unknown_option_callback): Only permit and save
      	unknown -Wno- options.
      	(driver_wrong_lang_callback): Save options directly instead of via
      	driver_unknown_option_callback.
      
      From-SVN: r171307
      Joseph Myers committed
    • combine.c (simplify_set): Try harder to find the best CC mode when simplifying a… · e8b97ccd
      combine.c (simplify_set): Try harder to find the best CC mode when simplifying a nested COMPARE on the RHS.
      
      	* combine.c (simplify_set): Try harder to find the best CC mode when
      	simplifying a nested COMPARE on the RHS.
      
      From-SVN: r171304
      Eric Botcazou committed
    • configure.ac (arm-semi-aof, [...]): Remove empty cases. · 56f8587a
      	* configure.ac (arm-semi-aof, crx-*-*, parisc*-*-linux*,
      	i370-*-opened*, i[[3456789]]86-moss-msdos | i[[3456789]]86-*-moss*
      	| i[[3456789]]86-*-uwin*, mcore-*-pe*): Remove empty cases.
      	* configure: Regenerate.
      
      From-SVN: r171303
      Joseph Myers committed
    • MAINTAINERS (crx port, [...]): Remove. · ebb9f8b0
      	* MAINTAINERS (crx port, m68hc11 port): Remove.  Move maintainers
      	to Write After Approval.
      	* config-ml.in: Don't handle arc-*-elf*.
      	* configure.ac (arc-*-*, crx-*-*, i[[3456789]]86-*-pe,
      	m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*, mcore-*-pe*): Don't
      	handle GCC libraries.
      	* configure: Regenerate.
      
      contrib:
      	* compare-all-tests (all_targets): Remove crx and m68hc11.
      
      fixincludes:
      	* mkfixinc.sh: Don't handle i?86-moss-msdos* or i?86-*-pe.
      
      gcc:
      	* config/alpha/gnu.h: Remove.
      	* config/arc: Remove directory.
      	* config/arm/netbsd.h: Remove.
      	* config/arm/t-pe: Remove.
      	* config/crx: Remove directory.
      	* config/i386/netbsd.h: Remove.
      	* config/m68hc11: Remove directory.
      	* config/m68k/uclinux-oldabi.h: Remove.
      	* config/mcore/mcore-pe.h: Remove.
      	* config/mcore/t-mcore-pe: Remove.
      	* config/netbsd-aout.h: Remove.
      	* config/rs6000/gnu.h: Remove.
      	* config/sh/sh-symbian.h: Remove.
      	* config/sh/symbian-base.c: Remove.
      	* config/sh/symbian-c.c: Remove.
      	* config/sh/symbian-cxx.c: Remove.
      	* config/sh/symbian-post.h: Remove.
      	* config/sh/symbian-pre.h: Remove.
      	* config/sh/t-symbian: Remove.
      	* config/svr3.h: Remove.
      	* config/vax/netbsd.h: Remove.
      	* config.build: Don't handle i[34567]86-*-pe.
      	* config.gcc: Remove handling of deprecations for most deprecated
      	targets.
      	(m68k-*-uclinuxoldabi*): Add to second deprecated list.
      	(alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*, arm-*-pe*, crx-*-elf,
      	i[34567]86-*-netbsd*, i[34567]86-*-pe, m68hc11-*-*|m6811-*-*,
      	m68hc12-*-*|m6812-*-*, m68k-*-uclinuxoldabi*, mcore-*-pe*,
      	powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
      	sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
      	Remove cases.
      	* config.host: Don't handle i[34567]86-*-pe.
      	* config/rs6000/linux64.h (LINK_OS_GNU_SPEC): Remove.
      	(ASM_SPEC32): Don't handle -mcall-gnu.
      	* config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Don't handle
      	-mcall-gnu.
      	(ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC, CPP_SPEC,
      	STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC): Don't handle -mcall-gnu.
      	(LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC,
      	LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): Remove.
      	(SUBTARGET_EXTRA_SPECS): Remove *_gnu specs.
      	* config/sh/sh-protos.h, config/sh/sh.c: Remove all code
      	conditional on SYMBIAN.
      	* configure.ac: Don't handle powerpc*-*-gnu*.
      	* configure: Regenerate.
      	* doc/extend.texi (interrupt attribute): Don't mention CRX.
      	* doc/install-old.texi (m6811, m6812): Don't mention.
      	* doc/install.texi (arc-*-elf*): Don't document multilib option.
      	(arc-*-elf, CRX, m6811-elf, m6812-elf): Remove.
      	(m68k-uclinuxoldabi): Don't mention.
      	* doc/invoke.texi (ARC Options, CRX Options, M68hc1x Options):
      	Remove.
      	(-mcall-gnu): Remove.
      	* doc/md.texi (CRX Architecture, Motorola 68HC11 & 68HC12
      	families): Remove constraint documentation.
      
      gcc/testsuite:
      	* gcc.c-torture/execute/920501-8.x: Remove.
      	* gcc.c-torture/execute/930513-1.x: Remove.
      	* gcc.c-torture/execute/960312-1.x: Remove.
      	* gcc.c-torture/compile/20000804-1.c,
      	gcc.c-torture/compile/20001205-1.c,
      	gcc.c-torture/compile/20001226-1.c,
      	gcc.c-torture/compile/20010518-2.c,
      	gcc.c-torture/compile/20020312-1.c,
      	gcc.c-torture/compile/20020604-1.c,
      	gcc.c-torture/compile/920501-12.c,
      	gcc.c-torture/compile/920501-4.c,
      	gcc.c-torture/compile/920520-1.c,
      	gcc.c-torture/compile/980506-1.c,
      	gcc.c-torture/execute/980709-1.x,
      	gcc.c-torture/execute/990826-0.x: Don't XFAIL or use special
      	options for m68hc11.
      	* gcc.dg/cpp/assert4.c: Don't handle ARC.
      	* gcc.dg/sibcall-3.c, gcc.dg/sibcall-4.c: Don't XFAIL for arc or
      	m68hc11.
      
      libgcc:
      	* config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
      	arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
      	m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
      	powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
      	sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
      	Remove cases.
      
      libstdc++-v3:
      	* configure.ac: Don't handle powerpc*-*-gnu*.
      	* configure: Regenerate.
      
      From-SVN: r171302
      Joseph Myers committed
    • freebsd.h (CPP_CPU64_DEFAULT_SPEC): Replace with... · 999a7d80
      	* config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Replace with...
      	(FBSD_TARGET_CPU_CPP_BUILTINS): ...this.
      	(TARGET_GNU_TLS, TARGET_SUN_TLS): Define.
      
      From-SVN: r171301
      Marius Strobl committed
    • avr-protos.h (expand_epilogue): Change prototype · 980a0ff4
      	* config/avr/avr-protos.h (expand_epilogue): Change prototype
      	* config/avr/avr.h (struct machine_function): Add field sibcall_fails.
      	* config/avr/avr.c (init_cumulative_args)
      	(avr_function_arg_advance): Use it.
      	* config/avr/avr.c (expand_epilogue): Add bool parameter. Handle
      	sibcall epilogues.
      	(TARGET_FUNCTION_OK_FOR_SIBCALL): Define to...
      	(avr_function_ok_for_sibcall): ...this new function.
      	(avr_lookup_function_attribute1): New static Function.
      	(avr_naked_function_p, interrupt_function_p)
      	(signal_function_p, avr_OS_task_function_p)
      	(avr_OS_main_function_p): Use it.
      	* config/avr/avr.md ("sibcall", "sibcall_value")
      	("sibcall_epilogue"): New expander.
      	("*call_insn", "*call_value_insn"): New insn.
      	("call_insn", "call_value_insn"): Remove
      	("call", "call_value", "epilogue"): Change expander to handle
      	sibling calls.
      
      From-SVN: r171300
      Georg-Johann Lay committed
    • target-supports.exp (check_profiling_available): Add MN10300 to the list of… · 0d8c8b1b
      target-supports.exp (check_profiling_available): Add MN10300 to the list of targets that do not support profiling.
      
      	* lib/target-supports.exp (check_profiling_available): Add MN10300
      	to the list of targets that do not support profiling.  Restore
      	alpha sorting to this list.
      
      From-SVN: r171299
      Nick Clifton committed
    • invoke.texi (Overall Options): Move closing brace to end of options list. · 49168734
      	* doc/invoke.texi (Overall Options): Move closing brace to end of
      	options list.
      	(Optimization Options): Add missing @gol.
      	(Directory Options): Likewise.
      	(i386 and x86-64 Options): Likewise.
      	(RS6000 and PowerPC Options): Likewise.
      	(i386 and x86-64 Windows Options): Likewise.
      	(V850 Options): Add text missing from descriptions.
      
      From-SVN: r171298
      Nick Clifton committed
    • avr.c (TARGET_EXCEPT_UNWIND_INFO): New. · bdfe906f
      	* config/avr/avr.c (TARGET_EXCEPT_UNWIND_INFO): New.
      	(avr_incoming_return_addr_rtx): New.
      	(emit_push_byte): New.
      	(expand_prologue): Use it.  Remove incorrect dwarf annotation for
      	SREG, RAMPZ, zero register.  Push frame pointer by bytes.  Add dwarf
      	annotation for __prologue_saves__.  Fixup dwarf annotation for CFA.
      	(emit_pop_byte): New.
      	(expand_epilogue): Use it.  Pop frame pointer by bytes.
      	* config/avr/avr.h (FRAME_POINTER_CFA_OFFSET): Remove.
      	(INCOMING_RETURN_ADDR_RTX): New.
      	(INCOMING_FRAME_SP_OFFSET): New.
      	(ARG_POINTER_CFA_OFFSET): New.
      	* config/avr/avr.md (*pushqi): Fix mode of auto-inc.
      	(*pushhi, *pushsi, *pushsf, popqi): Likewise.
      	(pophi): Remove.
      
      From-SVN: r171295
      Richard Henderson committed
    • moveable2.cc: Tweak Copyright years. · 5b13621b
      2011-03-22  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* testsuite/21_strings/basic_string/cons/char/moveable2.cc: Tweak
      	Copyright years.
      	* testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc:
      	Likewise.
      
      From-SVN: r171294
      Paolo Carlini committed
    • shared_ptr.h (operator>, [...]): Add, per DR 1401. · 355e71b9
      2011-03-22  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/bits/shared_ptr.h (operator>, operator<=, operator>=): Add,
      	per DR 1401.
      	(operator==, operator!=, operator<): Fix per the letter of DR 1401.
      	* include/bits/shared_ptr_base.h: Likewise for __shared_ptr.
      	* include/bits/unique_ptr.h (operator==, operator!=, operator<,
      	operator<=, operator>, operator>=): Fix per the letter of DR 1401.
      	* testsuite/20_util/shared_ptr/comparison/dr1401.cc: New.
      	* testsuite/20_util/unique_ptr/comparison/dr1401.cc: Likewise.
      	* testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.
      
      From-SVN: r171293
      Paolo Carlini committed
    • gnu.ver (GLIBCXX_3.4.15): Export _ZNSsC2EOSs and _ZNSbIwSt11char_traitsIwESaIwEEC2EOS2_. · 043747b3
      	* config/abi/pre/gnu.ver (GLIBCXX_3.4.15): Export _ZNSsC2EOSs
      	and _ZNSbIwSt11char_traitsIwESaIwEEC2EOS2_.
      	* config/abi/post/solaris2.8/baseline_symbols.txt: Regenerated.
      	* config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
      	* config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
      	* config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
      	* config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
      	* config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
      	* config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
      	* config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
      	Likewise.
      	* config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
      	* config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
      	* config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
      	* config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
      	* config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
      	* config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
      	* testsuite/21_strings/basic_string/cons/char/moveable2.cc: New test.
      	* testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc: New
      	test.
      
      From-SVN: r171291
      Jakub Jelinek committed
    • Make vector-{1,2}.c run correctly on PowerPC 32-bit · 956c23da
      From-SVN: r171289
      Michael Meissner committed
    • tree.c (build_call_1): New function. · 009d3fcf
      	* tree.c (build_call_1): New function.
      	(build_call_valist, build_call_array_loc, build_call_vec): Call it.
      
      From-SVN: r171288
      Nathan Froyd committed
    • re PR tree-optimization/48228 (incorrect signed overflow warning when only 0 and 1 are used) · 7bec30e1
      2011-03-22  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/48228
      	* tree-vrp.c (vrp_visit_phi_node): Do not stop propagating
      	for single-arg PHIs.
      
      	* gcc.dg/Wstrict-overflow-23.c: New testcase.
      
      From-SVN: r171287
      Richard Guenther committed
    • re PR rtl-optimization/48143 (ICE: in reset_sched_cycles_in_current_ebb, at… · 0b7e851b
      re PR rtl-optimization/48143 (ICE: in reset_sched_cycles_in_current_ebb, at sel-sched.c:7114 with custom flags)
      
              PR rtl-optimization/48143
              * config/i386/sse.md (*sse2_cvtpd2dq): Add athlon_decode attribute.
              (*sse2_cvttpd2dq, sse2_cvtss2sd, *sse2_cvtpd2ps,
              sse2_cvtps2pd): Likewise.
      
      From-SVN: r171286
      Andrey Belevantsev committed
    • recog.c (canonicalize_change_group): Use validate_unshare_change. · d89afca5
      2011-03-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
      
      	* recog.c (canonicalize_change_group): Use validate_unshare_change.
      
      From-SVN: r171285
      Andreas Krebbel committed
    • gimple.c (gimple_rhs_class_table): POLYNOMIAL_CHREC is not a valid RHS. · f471fe72
      2011-03-22  Richard Guenther  <rguenther@suse.de>
      
      	* gimple.c (gimple_rhs_class_table): POLYNOMIAL_CHREC is not
      	a valid RHS.  Make DOT_PROD_EXPR and REALIGN_LOAD_EXPR ternary.
      	* tree-cfg.c (verify_gimple_assign_ternary): Allow DOT_PROD_EXPR
      	and REALIGN_LOAD_EXPR.
      	(verify_gimple_assign_single): Do not allow POLYNOMIAL_CHREC,
      	DOT_PROD_EXPR or REALIGN_LOAD_EXPR.
      	* expr.c (expand_expr_real_1): Move REALIGN_LOAD_EXPR and
      	DOT_PROD_EXPR case ...
      	(expand_expr_real_2): ... here.
      	* gimple-pretty-print.c (dump_ternary_rhs): Handle DOT_PROD_EXPR
      	and REALIGN_LOAD_EXPR.
      	* tree-data-ref.c (split_constant_offset): Bail out for all CHRECs.
      	* tree-vect-loop.c (vect_model_reduction_cost): Handle ternaries.
      	(vect_create_epilog_for_reduction): Likewise.
      	(vectorizable_reduction): Likewise.
      	* tree-vect-patterns.c (vect_recog_dot_prod_pattern): Adjust.
      	* tree-vect-stmts.c (vectorizable_load): Likewise.
      
      From-SVN: r171284
      Richard Guenther committed