* config/avr/avr.h (device_to_arch): Rename to device_to_ld.
	(avr_device_to_arch): Rename to avr_device_to_ld.
	(avr_device_to_as): New prototype.
	(EXTRA_SPEC_FUNCTIONS): Add device_to_as.
	(ASM_SPEC): Use device_to_as to get -mmcu= and -mno-skip-bug=.
	* config/avr/driver-avr.c (avr_device_to_as): New.
	(avr_device_to_arch): Rename to avr_device_to_ld.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196330 138bc75d-0d04-0410-961f-82ee72b054a4
	* avr/avr-mcus.def (ata5272, ata5505, attiny1634, ata6285)
	(ata6286, atmega8a, atmega48pa, ata5790, ata5790n, ata5795)
	(atmega164pa, atmega165pa, atmega168pa, atmega16hva, atmega16hvb)
	(atmega16hvbrevb, atmega16m1, atmega16u4, atmega26hvg, atmega32a)
	(atmega32a, atmega3250pa, atmega3290pa, atmega32c1, atmega32m1)
	(atmega32u4, atmega32u6, atmega64a, atmega6490a, atmega6490p)
	(atmega64c1, atmega64m1, atmega64rfa2, atmega64rfr2, atmega32hvb)
	(atmega32hvbrevb, atmega16hva2, atmega48hvf, at90pwm161)
	(atmega128a, atmega1284, atmxt112sl, atmxt224, atmxt224e)
	(atmxt336s, atxmega16a4u, atxmega16c4, atxmega32a4u, atxmega32c4)
	(atxmega32e5, atxmega64a3u, atxmega64a4u, atxmega64b1, atxmega64b3)
	(atxmega64c3, atxmega64d4, atxmega128a3u, atxmega128b1)
	(atxmega128b3, atxmega128c3, atxmega128d4, atmxt540s, atmxt540sreva)
	(atxmega192a3u, atxmega192c3, atxmega256a3u, atxmega256c3)
	(atxmega384c3, atxmega384d3, atxmega128a4u): New AVR_MCU.
	(avrxmega6): Increase max flash segments from 5 to 6.
	* config/avr/t-multilib: Regenerate.
	* config/avr/avr-tables.opt: Regenerate.
	* doc/avr-mmcu.texi: Regenerate.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196331 138bc75d-0d04-0410-961f-82ee72b054a4
	PR target/56445
	* config/avr/avr.c (avr_init_builtins): Use 'n' instead of empty
	macro parameters with: FX_FTYPE_FX, FX_FTYPE_FX_INT, INT_FTYPE_FX,
	INTX_FTYPE_FX, FX_FTYPE_INTX.
	* config/avr/builtins.def: Adjust respective DEF_BUILTIN.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196332 138bc75d-0d04-0410-961f-82ee72b054a4
	* configure.ac: Don't define ENABLE_CHECKING whenever
	--enable-checking is seen, instead use similar --enable-checking=yes
	vs. --enable-checking=release default as gcc/ subdir has and
	define ENABLE_CHECKING if ENABLE_CHECKING is defined in gcc/.
	Define ENABLE_VALGRIND_CHECKING if requested.
	* lex.c (new_buff): If ENABLE_VALGRIND_CHECKING, put _cpp_buff
	struct first in the allocated buffer and result->base after it.
	(_cpp_free_buff): If ENABLE_VALGRIND_CHECKING, free buff itself
	instead of buff->base.
	* config.in: Regenerated.
	* configure: Regenerated.


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

	PR c++/55813
	* doc/invoke.texi ([-Wctor-dtor-privacy]): Complete.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196334 138bc75d-0d04-0410-961f-82ee72b054a4
        PR rtl-optimization/56466
        * loop-unroll.c (unroll_and_peel_loops): Call fix_loop_structure
        if we're changing a loop.
        (peel_loops_completely): Likewise.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196335 138bc75d-0d04-0410-961f-82ee72b054a4
Call final_start_function and final_end_function from arm_output_mi_thunk.


2013-02-28  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

	* config/arm/arm.c (arm_output_mi_thunk): Call final_start_function and final_end_function.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196336 138bc75d-0d04-0410-961f-82ee72b054a4
Add XFAIL to g++.old-deja/g++.pt/ptrmem6.C for AArch64.

2013-02-28  Marcus Shawcroft  <marcus.shawcroft@arm.com>

        * g++.old-deja/g++.pt/ptrmem6.C(main): Add xfail aarch64*-*-*.



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

	PR tree-optimization/56294
	* tree-sra.c (analyze_access_subtree): Create replacement declarations.
	Adjust dumping.
	(get_access_replacement): Do not call create_access_replacement.
	Assert a replacement exists.
	(get_repl_default_def_ssa_name): Create the replacement declaration
	itself.

testsuite/
	* g++.dg/debug/pr56294.C: New test.



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

	* tree-sra.c (load_assign_lhs_subreplacements): Do not put replacements
	with no initialization to the RHS of debug statements.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196341 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/56243
	* call.c (build_over_call): Avoid virtual lookup in a template.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196343 138bc75d-0d04-0410-961f-82ee72b054a4
[AArch64/AArch64-4.7] Fix warning - aarch64_simd_make_constant has no prototype.

gcc/
	* config/aarch64/aarch64.c
	(aarch64_simd_make_constant): Make static.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196345 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/
    	* config/aarch64/aarch64-builtins.c
    	(aarch64_init_simd_builtins): Make static.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196347 138bc75d-0d04-0410-961f-82ee72b054a4
[AArch64/AArch64-4.7] Fix warning - aarch64_mangle_type has no prototype.

gcc/
	* config/aarch64/aarch64.c (aarch64_mangle_type): Make static.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196349 138bc75d-0d04-0410-961f-82ee72b054a4
[AArch64/AArch64-4.7] Fix warning - Unused variable in aarch64_float_const_representable.

gcc/
	* config/aarch64/aarch64.c
	(aarch64_float_const_representable): Remove unused variable.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196352 138bc75d-0d04-0410-961f-82ee72b054a4
	* asan/asan_mapping.h (kMidMemEnd): Increase to 0x4fffffffffULL.
	* asan/asan_rtl.cc (__asan_init): Increase kMidMemEnd to
	0x4fffffffffULL.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196355 138bc75d-0d04-0410-961f-82ee72b054a4
	* files.c (_cpp_find_file): If returning early, before storing
	something to *hash_slot and *hash_slot is NULL, call htab_clear_slot
	on it.  Access *hash_slot using void * type rather than
	struct file_hash_entry * to avoid aliasing issues.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196356 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/56481
	* semantics.c (potential_constant_expression_1): Use
	cxx_eval_outermost_constant_expr rather than maybe_constant_value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196358 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/56481
	* g++.dg/cpp0x/constexpr-and.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196359 138bc75d-0d04-0410-961f-82ee72b054a4
	PR middle-end/56461
	* tree-vectorizer.h (vect_get_slp_defs): Change 3rd argument
	type to vec<vec<tree> > *.
	* tree-vect-slp.c (vect_get_slp_defs): Likewise.  Change vec_defs
	to be vec<tree> instead of vec<tree> *, set vec_defs
	to vNULL and call vec_defs.create (number_of_vects), adjust other
	uses of vec_defs.
	* tree-vect-stmts.c (vect_get_vec_defs, vectorizable_call,
	vectorizable_condition): Adjust vect_get_slp_defs callers.


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