Add Linux/x32 support to Ada

2012-03-03  H.J. Lu  <hongjiu.lu@intel.com>

	* init.c (__gnat_adjust_context_for_raise): Also check
	"orq $0x0,(%esp)" for x32.

	* link.c (__gnat_default_libgcc_subdir): set to libx32 for x32.

	* gcc-interface/Makefile.in (arch): Set to x32 if MULTISUBDIR
	is /x32.
	Support x32.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184859 138bc75d-0d04-0410-961f-82ee72b054a4
	* de.po: Update.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184860 138bc75d-0d04-0410-961f-82ee72b054a4
	* optabs.c (expand_atomic_test_and_set): Honor
	atomic_test_and_set_trueval even when atomic_test_and_set
	optab is not in use.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184862 138bc75d-0d04-0410-961f-82ee72b054a4
2012-03-03  Tobias Burnus  <burnus@net-b.de>

        PR fortran/48820
        * resolve.c (resolve_actual_arglist): Properly reset
        assumed_type_expr_allowed.

2012-03-03  Tobias Burnus  <burnus@net-b.de>

        PR fortran/48820
        * gfortran.dg/assumed_type_3.f90: Undo previous commit.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184863 138bc75d-0d04-0410-961f-82ee72b054a4
	PR fortran/52313
	* module.c (gfc_use_module): Improve error messages.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184864 138bc75d-0d04-0410-961f-82ee72b054a4
	* config/sh/sh.c (shiftcosts): Return MAX_COST when the first
	operand is CONST_INT.  Take COSTS_N_INSNS into account.
	(sh_rtx_costs): Don't apply COSTS_N_INSNS to the return value
	of shiftcosts.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184865 138bc75d-0d04-0410-961f-82ee72b054a4
	* config/sh/sh.c (sh_dwarf_register_span): Don't apply
	DBX_REGISTER_NUMBER.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184866 138bc75d-0d04-0410-961f-82ee72b054a4
	* config/sh/sh.md (abssi2): Add TARGET_SH1 condition.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184867 138bc75d-0d04-0410-961f-82ee72b054a4
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184872 138bc75d-0d04-0410-961f-82ee72b054a4
	* class.c (add_method): Always build an OVERLOAD for using-decls.
	* search.c (lookup_member): Handle getting an OVERLOAD for a
	single function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184873 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/36797
	* mangle.c (write_expression): Improve diagnostic for TRAIT_EXPR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184874 138bc75d-0d04-0410-961f-82ee72b054a4
	* mangle.c (write_nested_name): Use decl_mangling_context.
	(write_prefix, write_template_prefix): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184875 138bc75d-0d04-0410-961f-82ee72b054a4
	Core 1270
	* call.c (build_aggr_conv): Call reshape_init.
	(convert_like_real): Likewise.
	* typeck2.c (process_init_constructor): Clear TREE_CONSTANT if
	not all constant.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184876 138bc75d-0d04-0410-961f-82ee72b054a4
	* init.c (perform_member_init): Cope with uninstantiated NSDMI.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184877 138bc75d-0d04-0410-961f-82ee72b054a4
2012-03-04  Sandra Loosemore  <sandra@codesourcery.com>

	gcc/
	* doc/invoke.texi (C++ Dialect Options): Minor copy-edits to
	x86-specific text.
	(Debugging Options): Likewise.
	(Optimize Options): Likewise.
	(i386 and x86-64 Options): Discuss -march before -mtune, consistently
	with other architectures.  Use official processor names with correct
	spelling/capitalization.  Fix formatting and grammar issues.
	(i386 and x86-64 Windows Options): Similar cleanup here.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184879 138bc75d-0d04-0410-961f-82ee72b054a4
        PR libstdc++/52433
        * include/debug/safe_iterator.h (_Safe_iterator): Add move
        constructor and move assignment operator.
        * testsuite/23_containers/vector/debug/52433.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184880 138bc75d-0d04-0410-961f-82ee72b054a4
	* gnatvsn.ads (Library_Version): Bump to 4.8.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184882 138bc75d-0d04-0410-961f-82ee72b054a4
	* module.c (gfc_use_module): Improve error message some more.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184883 138bc75d-0d04-0410-961f-82ee72b054a4
	PR fortran/36160
	* error.c (gfc_widechar_display_length, gfc_wide_display_length):
	New functions.
	(print_wide_char_into_buffer): Return length written.
	(show_locus): Fix locus displayed when wide characters are present.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184884 138bc75d-0d04-0410-961f-82ee72b054a4
	* gcc.dg/debug/dwarf2/pr49871.c: Add dg-require-effective-target
	int32plus.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184887 138bc75d-0d04-0410-961f-82ee72b054a4