Make zero_extends explicit for some more SImode patterns (AArch64)

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195243 138bc75d-0d04-0410-961f-82ee72b054a4
	* gospec.c: pass -u pthread_create to linker when static linking.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195244 138bc75d-0d04-0410-961f-82ee72b054a4
2013-01-16  Vladimir Makarov  <vmakarov@redhat.com>

	PR rtl-optimization/56005
	* sched-deps.c (sched_analyze_2): Check deps->readonly for adding
	pending reads for prefetch.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195247 138bc75d-0d04-0410-961f-82ee72b054a4
	* gcc.target/arm/neon-vld1_dupQ.c: Use types that match function
	prototypes.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195248 138bc75d-0d04-0410-961f-82ee72b054a4
	PR testsuite/54622
	* lib/target-supports.exp (check_effective_target_vect_perm_byte,
	check_effective_target_vect_perm_short,
	check_effective_target_vect_widen_mult_qi_to_hi_pattern,
	check_effective_target_vect64): Return 0 for big-endian ARM.
	(check_effective_target_vect_widen_sum_qi_to_hi): Return 1 for ARM.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195249 138bc75d-0d04-0410-961f-82ee72b054a4
	PR testsuite/55994
	* gcc.c-torture/execute/builtins/builtins.exp: Add
	-Wl,--allow-multiple-definition for eabi and elf targets.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195250 138bc75d-0d04-0410-961f-82ee72b054a4
2013-01-16  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/55983
	* class.c (find_typebound_proc_uop): Check for f2k_derived instead of
	asserting it.


2013-01-16  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/55983
	* gfortran.dg/class_55.f90: New.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195251 138bc75d-0d04-0410-961f-82ee72b054a4
	PR libstdc++/55043 (again)
	* include/bits/alloc_traits.h (allocator_traits::construct): Disable
	unless construction would be well-formed.
	(__allow_copy_cons, __check_copy_constructible): Define.
	* include/bits/unordered_map.h (__check_copy_constructible): Use as
	base class so copy constructor will be deleted if appropriate.
	(is_copy_constructible): Remove specialization.
	* include/bits/unordered_set.h: Likewise.
	* include/debug/unordered_map.h: Undo previous commit. Default copy
	and move constructors.
	* include/debug/unordered_set.h: Likewise.
	* include/profile/unordered_map.h: Undo previous commit.
	* include/profile/unordered_set.h: Likewise.
	* testsuite/23_containers/unordered_map/55043.cc: Fix test.
	* testsuite/23_containers/unordered_multimap/55043.cc: Likewise.
	* testsuite/23_containers/unordered_multiset/55043.cc: Likewise.
	* testsuite/23_containers/unordered_set/55043.cc: Likewise.
	* testsuite/23_containers/unordered_map/requirements/53339.cc: XFAIL,
	cannot support incomplete types.
	* testsuite/23_containers/unordered_multimap/requirements/53339.cc:
	Likewise.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195256 138bc75d-0d04-0410-961f-82ee72b054a4
	* dwarf.c (struct unit): Add filename and abs_filename fields.
	(build_address_map): Set new fields when reading unit.
	(dwarf_lookup_pc): If we don't find an entry in the line table,
	just return the main file name.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195257 138bc75d-0d04-0410-961f-82ee72b054a4
compiler: Provide location for initialization function.


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

	fortran/
	* trans-stmt.c (gfc_trans_do): Conditionally compute countm1
	dependent on sign of step, avoids repeated evaluation of
	step sign test.  Avoid undefined overflow issues by using unsigned
	arithmetic.


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

	PR tree-optimizations/55264
	* ipa-inline-transform.c (can_remove_node_now_p_1): Never return true
	for virtual methods.
	* ipa.c (symtab_remove_unreachable_nodes): Never return true for
	virtual methods before inlining is over.
	* cgraph.h (cgraph_only_called_directly_or_aliased_p): Return false for
	virtual functions.
	* cgraphclones.c (cgraph_create_virtual_clone): Mark clones as
	non-virtual.

testsuite/
	* g++.dg/ipa/pr55264.C: New test.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195262 138bc75d-0d04-0410-961f-82ee72b054a4
2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>

	* config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
	results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
	__UINTPTR_TYPE__; also cast 'base' to the same type before the
	alignment operation.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195266 138bc75d-0d04-0410-961f-82ee72b054a4
	* gcc.target/arm/ftest-support.h: Replace for compile-only tests.
	* gcc.target/arm/ftest-support-arm.h: Delete.
	* gcc.target/arm/ftest-support-thumb.h: Delete.
	* gcc.target/arm/ftest-armv4-arm.c: Replace with compile-only test.
	* gcc.target/arm/ftest-armv4t-arm.c: Likewise.
	* gcc.target/arm/ftest-armv4t-thumb.c: Likewise.
	* gcc.target/arm/ftest-armv5t-arm.c: Likewise.
	* gcc.target/arm/ftest-armv5t-thumb.c: Likewise.
	* gcc.target/arm/ftest-armv5te-arm.c: Likewise.
	* gcc.target/arm/ftest-armv5te-thumb.c: Likewise.
	* gcc.target/arm/ftest-armv6-arm.c: Likewise.
	* gcc.target/arm/ftest-armv6-thumb.c: Likewise.
	* gcc.target/arm/ftest-armv6k-arm.c: Likewise.
	* gcc.target/arm/ftest-armv6k-thumb.c: Likewise.
	* gcc.target/arm/ftest-armv6m-thumb.c: Likewise.
	* gcc.target/arm/ftest-armv6t2-arm.c: Likewise.
	* gcc.target/arm/ftest-armv6t2-thumb.c: Likewise.
	* gcc.target/arm/ftest-armv6z-arm.c: Likewise.
	* gcc.target/arm/ftest-armv6z-thumb.c: Likewise.
	* gcc.target/arm/ftest-armv7a-arm.c: Likewise.
	* gcc.target/arm/ftest-armv7a-thumb.c: Likewise.
	* gcc.target/arm/ftest-armv7em-thumb.c: Likewise.
	* gcc.target/arm/ftest-armv7m-thumb.c: Likewise.
	* gcc.target/arm/ftest-armv7r-arm.c: Likewise.
	* gcc.target/arm/ftest-armv7r-thumb.c: Likewise.
	* gcc.target/arm/ftest-armv8a-arm.c: Likewise.
	* gcc.target/arm/ftest-armv8a-thumb.c: Likewise.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195270 138bc75d-0d04-0410-961f-82ee72b054a4
	* gcc.target/arm/pr40887.c: Require at least armv5.
	* gcc.target/arm/pr51835.c: Avoid conflicts with multilib flags.
	* gcc.target/arm/pr51915.c: Likewise.
	* gcc.target/arm/pr52006.c: Likewise.
	* gcc.target/arm/pr53187.c: Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195271 138bc75d-0d04-0410-961f-82ee72b054a4
	PR target/55981
	* config/i386/sync.md (atomic_store<mode>): Always generate SWImode
	store through atomic_store<mode>_1.
	(atomic_store<mode>_1): Macroize insn using SWI mode iterator.

testsuite/ChangeLog:

	PR target/55981
	* gcc.target/pr55981.c: New test.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195273 138bc75d-0d04-0410-961f-82ee72b054a4
	PR tree-optimizatoin/51083

	* gcc.c-torture/compile/pr51083.c: New testcase.

	* loop-iv.c (iv_number_of_iterations): Consider zero iteration case.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195274 138bc75d-0d04-0410-961f-82ee72b054a4
	PR tree-optimizatoin/55273
	* gcc.c-torture/compile/pr55273.c: New testcase.

	* loop-iv.c (iv_number_of_iterations): Consider zero iteration case.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195275 138bc75d-0d04-0410-961f-82ee72b054a4
	* config/avr/builtins.def (DEF_BUILTIN): Factor out
	"__builtin_avr_" from NAME, turn NAME to an uppercase identifier.
	Factor out 'CODE_FOR_' from ICODE, use 'nothing' instead of '-1'.
	Remove ID.  Adjust comments.
	* config/avr/avr-c.c (avr_builtin_name): Remove.
	(avr_cpu_cpp_builtins): Use DEF_BUILTIN instead of for-loop.
	* config/avr/avr.c (avr_tolower): New static function.
	(DEF_BUILTIN): Remove parameter ID.  Prefix ICODE by 'CODE_FOR_'.
	Stringify NAME, prefix it with "__builtin_avr_" and lowercase it.
	(avr_expand_builtin): Assert insn_code != CODE_FOR_nothing for
	default expansion.



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