Add support for Cortex-A53.

2013-04-02  Ian Caulfield  <ian.caulfield@arm.com>
	    Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

	* config/arm/arm-arches.def (armv8-a): Default to cortex-a53.
        * config/arm/t-arm (MD_INCLUDES): Depend on cortex-a53.md.
        * config/arm/cortex-a53.md: New file.
        * config/arm/bpabi.h (BE8_LINK_SPEC): Handle cortex-a53.
        * config/arm/arm.md (generic_sched, generic_vfp): Handle cortex-a53.
        * config/arm/arm.c (arm_issue_rate): Likewise.
        * config/arm/arm-tune.md: Regenerate
        * config/arm/arm-tables.opt: Regenerate.
        * config/arm/arm-cores.def: Add cortex-a53.




git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197346 138bc75d-0d04-0410-961f-82ee72b054a4
2013-04-02  Paolo Carlini  <paolo.carlini@oracle.com>

	* cp-tree.h (TAGGED_TYPE_P): Remove.
	(IS_OVERLOAD_TYPE): Rename to OVERLOAD_TYPE_P, adjust.
	(TYPE_ANONYMOUS_P): Adjust.
	* call.c (build_new_op_1): Likewise.
	* class.c (find_abi_tags_r): Likewise.
	* decl.c (warn_misplaced_attr_for_class_type, start_decl,
	type_is_deprecated): Likewise.
	* decl2.c (grokfield, min_vis_r): Likewise.
	* pt.c (get_template_info): Likewise.
	* tree.c (handle_abi_tag_attribute): Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197347 138bc75d-0d04-0410-961f-82ee72b054a4
2013-04-02  Richard Biener  <rguenther@suse.de>

	PR middle-end/56768
	* g++.dg/torture/pr56768.C: New testcase.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197349 138bc75d-0d04-0410-961f-82ee72b054a4
2013-04-02  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/56778
	* tree-vect-data-refs.c (vect_analyze_data_ref_dependence):
	Runtime alias tests are not supported for gather loads.
	* tree-vect-loop-manip.c (vect_loop_versioning): Insert
	stmts referenced from SSA operands before updating SSA form.

	* gcc.dg/torture/pr56778.c: New testcase.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197355 138bc75d-0d04-0410-961f-82ee72b054a4
2013-04-02  Paolo Carlini  <paolo.carlini@oracle.com>

	* friend.c (do_friend): Use COMPLETE_OR_OPEN_TYPE_P.
	* pt.c (find_parameter_packs_r): Use TYPE_ALIAS_P and TYPE_TI_ARGS.
	(for_each_template_parm_r): Use TYPE_TI_ARGS.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197356 138bc75d-0d04-0410-961f-82ee72b054a4
	* config.gcc (arm*-*-linux-*): Remove duplicate t-linux-android.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197358 138bc75d-0d04-0410-961f-82ee72b054a4
2013-04-02  Wei Mi  <wmi@google.com>

	* config/i386/i386.c (ix86_rtx_costs): Set proper rtx cost for
	ashl<mode>3_mask, *<shift_insn><mode>3_mask and
	*<rotate_insn><mode>3_mask in i386.md.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197362 138bc75d-0d04-0410-961f-82ee72b054a4
2013-04-02  Pitchumani Sivanupandi <pitchumani.s@atmel.com>

	    * gcc.dg/tree-ssa/sra-13.c: Fix for 16 bit int.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197366 138bc75d-0d04-0410-961f-82ee72b054a4
	* config/i386/i386.md (*testqi_ext_3): Merge with *testqi_ext_3_rex64
	using SWI48 mode attribute.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197367 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/34949
	* tree-cfg.c (verify_gimple_assign_single): Allow lhs
	of gimple_clobber_p to be MEM_REF.
	* gimplify.c (gimplify_modify_expr): Gimplify *to_p of
	an assignment from TREE_CLOBBER_P.  Allow it to be MEM_REF
	after gimplification.
	* asan.c (get_mem_ref_of_assignment): Don't instrument
	gimple_clobber_p stmts.
	* tree-ssa-dse.c (dse_optimize_stmt): Allow DSE of
	gimple_clobber_p stmt if they have MEM_REF lhs and
	are dead because of another gimple_clobber_p stmt.
	* tree-ssa-live.c (clear_unused_block_pointer): Treat
	gimple_clobber_p stmts like debug stmts.
	(remove_unused_locals): Remove clobbers with MEM_REF lhs
	that refer to unused VAR_DECLs or uninitialized values.
	* tree-sra.c (sra_ipa_reset_debug_stmts): Also remove
	gimple_clobber_p stmts if they refer to removed parameters.
	(get_repl_default_def_ssa_name, sra_ipa_modify_expr): Fix up
	formatting.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197369 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/34949
	* tree-ssa-alias.c (stmt_kills_ref_p_1): If base != ref->base
	and both of them are MEM_REFs, just compare first argument for
	equality and attempt to deal even with differing offsets.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197370 138bc75d-0d04-0410-961f-82ee72b054a4
	PR rtl-optimization/56745
	* ifcvt.c (cond_exec_find_if_block): Don't try to optimize
	if then_bb has no successors and else_bb is EXIT_BLOCK_PTR.

	* gcc.c-torture/compile/pr56745.c: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197371 138bc75d-0d04-0410-961f-82ee72b054a4
	PR target/52790
	* config/i386/cygming.h (SUB_TARGET_RECORD_STUB): New sub-target macro.
	* config/i386/i386-protos.h (i386_pe_record_stub): Add new prototype.
	* config/i386/i386.c (legitimize_pe_coff_extern_decl): New static
	function.
	(legitimize_pe_coff_symbol): Likewise.
	(is_imported_p): New helper-function.
	(ix86_option_override_internal): Make MEDIUM_PIC the default code-model
	for Windows x64 targets.
	(ix86_expand_prologue): Optimize for pe-coff targets.
	(ix86_expand_split_stack_prologue): Adjust for pe-coff targets.
	(legitimate_pic_address_disp_p): Adjust for x64 pe-coff to support
	medium/large code-model.
	(legitimize_pic_address): Likewise.
	(legitimize_tls_address): Likewise.
	(ix86_expand_call): Likewise.
	(x86_output_mi_thunk): Likewise.
	(get_dllimport_decl): Add new beimport argument.
	(construct_plt_address): Don't assert for x64 pe-coff targets.
	* config/i386/i386.h (PIC_OFFSET_TABLE_REGNUM): Adjust for x64 pe-coff
	targets.
	(SYMBOL_FLAG_STUBVAR): New macro.
	(SYMBOL_REF_STUBVAR_P): Likewise.
	* config/i386/winnt.c (stub_list): New structure.
	(stub_head): New local variable.
	(i386_pe_record_stub): New function.
	(i386_pe_file_end): Emit refptr-stubs.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197373 138bc75d-0d04-0410-961f-82ee72b054a4
Remove unused symbols related to ivtype_map.  This map does not appear to
exist and I see no evidence of its removal in the ChangeLog.

Tested on x86_64.


Index: gcc/ChangeLog

2013-04-02  Lawrence Crowl  <crowl@google.com>

	* sese.h (struct ivtype_map_elt_s): Remove unused.
	(extern debug_ivtype_map): Remove unused.
	(extern eq_ivtype_map_elts): Remove unused.
	* sese.c (debug_ivtype_map): Removed unused.
	(debug_ivtype_map_1): Removed unused.
	(debug_ivtype_elt): Remove unused.
	(eq_ivtype_map_elts): Remove unused.




git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197374 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/34949
	* decl.c (begin_destructor_body): Clobber the object in a cleanup.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197375 138bc75d-0d04-0410-961f-82ee72b054a4
	* gdbinit.in (pbb): Use debug fn.

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


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197377 138bc75d-0d04-0410-961f-82ee72b054a4
	* libsupc++/exception (get_terminate(), get_unexpected()): Declare.
	* libsupc++/eh_terminate.cc (get_terminate() , set_unexpected()):
	Define.
	(set_terminate(terminate_handler)): Set atomically.
	(set_unexpected(terminate_handler)): Likewise.
	* libsupc++/new (get_new_handler()): Declare.
	* libsupc++/new_handler.cc (get_new_handler()): Define.
	(set_new_handler(new_handler)): Set atomically.
	(__new_handler): Use internal linkage.
	* libsupc++/new_op.cc (operator new): Use get_new_handler().
	* libsupc++/new_opnt.cc (operator new): Likewise.
	* acinclude.m4: Bump libtool_VERSION to 6:19:0.
	* configure: Regenerate.
	* libsupc++/Makefile.am: Compile above files with -std=gnu++11.
	* libsupc++/Makefile.in: Regenerate.
	* config/abi/pre/gnu.ver: Add new exports.
	* doc/xml/manual/status_cxx2011.xml: Update.
	* testsuite/18_support/headers/exception/synopsis.cc: Check accessors
	for handlers.
	* testsuite/18_support/headers/new/synopsis.cc: Likewise.
	* testsuite/18_support/new_handler.cc: New.
	* testsuite/18_support/terminate_handler.cc: New.
	* testsuite/18_support/unexpected_handler.cc: New.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197384 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/56821
	* mangle.c (write_function_type): Mangle ref-qualifier.
	(write_nested_name): Likewise.
	(canonicalize_for_substitution): Preserve ref-qualifier.
	(write_type): Likewise.

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