2013-09-13  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

	* config/arm/arm.md (arm_cmpsi_insn): Split rI alternative.
	Set type attribute correctly. Set predicable_short_it attribute.
	(cmpsi_shiftsi): Remove %? from output template.


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

	* tree-data-ref.h (known_dependences_p): Move here ...
	* tree-loop-distribution.c (known_dependences_p): ... from here.
	(dump_rdg_component, debug_rdg_component): Remove.
	(dump_rdg): Adjust.
	(generate_loops_for_partition): Use gimple_uid instead of
	relying on matching stmt visit order.
	(rdg_build_partitions): Take starting stmt vector.
	(ldist_gen): Merge into ...
	(distribute_loop): ... this function.  Do not compute starting
	vertices vector.
	* tree-cfg.c (gimple_duplicate_bb): Copy UID for PHIs.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202561 138bc75d-0d04-0410-961f-82ee72b054a4
* configure.tgt: Remove *-*-*android* from supported targets.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202562 138bc75d-0d04-0410-961f-82ee72b054a4
2013-09-13  Martin Jambor  <mjambor@suse.cz>

	PR bootstrap/58388
	* ipa-prop.c (try_make_edge_direct_simple_call): Be less strict in
	the assert if the edge was a speculative one.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202563 138bc75d-0d04-0410-961f-82ee72b054a4
	PR tree-optimization/58392
	* tree-cfg.c (move_sese_region_to_fn): Rename loop variable
	to avoid shadowing of outer loop variable.  If
	saved_cfun->has_simduid_loops or saved_cfun->has_force_vect_loops,
	replace_by_duplicate_decl simduid of loops that have it set and
	set dest_cfun->has_simduid_loops and/or
	dest_cfun->has_force_vect_loops.
	* omp-low.c (build_outer_var_ref): Call maybe_lookup_decl_in_outer_ctx
	instead of maybe_lookup_decl.
	* tree-inline.c (copy_loops): Change blocks_to_copy argument to id.
	Use id->blocks_to_copy instead of blocks_to_copy.  Adjust recursive
	call.  Copy over force_vect and copy and remap simduid.  Set
	cfun->has_simduid_loops and/or cfun->has_force_vect_loops.
	(copy_cfg_body): Remove blocks_to_copy argument.  Use
	id->blocks_to_copy instead of blocks_to_copy.  Adjust copy_loops
	caller.  Don't set cfun->has_simduid_loops and/or
	cfun->has_force_vect_loops here.
	(copy_body): Remove blocks_to_copy argument.  Adjust copy_cfg_body
	caller.
	(expand_call_inline, tree_function_versioning): Adjust copy_body
	callers.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202564 138bc75d-0d04-0410-961f-82ee72b054a4
	* ipa-inline-analysis.c (struct growth_data): Add node.
	(do_estimate_growth_1): Fix detection of recursion.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202566 138bc75d-0d04-0410-961f-82ee72b054a4
	PR middle-end/58094
	* ipa-inline.c (check_callers): New function.
	(check_caller_edge): Remove.
	(want_inline_function_to_all_callers_p): Also permit alises that are
	called dirrectly.
	(inline_to_all_callers): Terminate the walk when devirtualization
	introduce new calls.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202567 138bc75d-0d04-0410-961f-82ee72b054a4
Revert r202554, r202540 and r202539.

 - r202554: Fix uninitialized variables causing breakage with -Werror.
 - r202540: Support using 'auto' in a function parameter list to introduce an implicit template parameter.
 - r202539: Support lambda templates.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202570 138bc75d-0d04-0410-961f-82ee72b054a4
	gcc.target/i386/pr57848.c: New file.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202571 138bc75d-0d04-0410-961f-82ee72b054a4
	PR target/57848
	* c-decl.c (c_builtin_function_ext_scope): Remove
	wrong assumption that it is never called on prexisting
	symbol.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202572 138bc75d-0d04-0410-961f-82ee72b054a4
2013-09-13  Jacek Caban  <jacek@codeweavers.com>

	* c-target.def: New hook
    
    gcc/ChangeLog:

2013-09-13  Jacek Caban  <jacek@codeweavers.com>

	* config.gcc: Use new winnt-c.c target hooks
	* config/t-winnt: New file
	* config/winnt-c.c: New file
	* doc/tm.texi.in: Document new hook
	* doc/tm.texi: Regenerated
    
    gcc/cp/Changelog:

2013-09-13  Jacek Caban  <jacek@codeweavers.com>

	* decl.c: Use new cxx_implicit_extern_c hook
    
    gcc/testsuite/ChangeLog:

2013-09-13  Jacek Caban  <jacek@codeweavers.com>

	* g++.dg/abi/main.C: Added implicit C linkage tests



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

	PR libstdc++/58415
	* include/ext/sso_string_base.h (__sso_string_base<>::
	__sso_string_base(__sso_string_base&&)): Fix thinkos about
	_M_length vs _M_set_length.
	* testsuite/ext/vstring/cons/58415-1.cc: New.
	* testsuite/ext/vstring/cons/58415-2.cc: Likewise.


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