2013-02-20  Andrew Sutton  <andrew.n.sutton@gmail.com>

	* MAINTAINERS (Write After Approval): Add myself.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196209 138bc75d-0d04-0410-961f-82ee72b054a4
Fix regression when writing formatted sequential to a pipe.

2013-02-21  Janne Blomqvist  <jb@gcc.gnu.org>

	PR libfortran/30162
	* io/open.c (test_endfile): Call stell only if size != 0.
	* io/unix.c (raw_tell): Revert r194679.
	(raw_size): Return size field only for regular files, otherwise 0.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196210 138bc75d-0d04-0410-961f-82ee72b054a4
	* asan/Makefile.am (libasan_la_SOURCES): Remove deprecated
	dynamic/asan_interceptors_dynamic.cc.
	* asan/Makefile.in: Regenerated.
	* merge.sh: Remove merge of deprecated lib/asan/dynamic.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196211 138bc75d-0d04-0410-961f-82ee72b054a4
	PR middle-end/56108
	* trans-mem.c (execute_tm_mark): Do not expand transactions that
	are sure to go irrevocable.
testsuite/
	* gcc.dg/tm/memopt-1.c: Declare functions transaction_safe.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196213 138bc75d-0d04-0410-961f-82ee72b054a4
	PR rtl-optimization/50339
	* lower-subreg.h (struct lower_subreg_choices): Add splitting_ashiftrt
	field.
	* lower-subreg.c (compute_splitting_shift): Handle ASHIFTRT.
	(compute_costs): Call compute_splitting_shift also for ASHIFTRT
	into splitting_ashiftrt field.
	(find_decomposable_shift_zext, resolve_shift_zext): Handle also
	ASHIFTRT.
	(dump_choices): Fix up printing LSHIFTRT choices, print ASHIFTRT
	choices.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196214 138bc75d-0d04-0410-961f-82ee72b054a4
	PR middle-end/56420
	* expmed.c (EXACT_POWER_OF_2_OR_ZERO_P): Do subtraction in uhwi, to
	avoid signed wrapping.
	(expand_mult): Handle properly multiplication by
	((dword_type) -1) << (BITS_PER_WORD - 1).  Improve multiplication by
	((dword_type) 1) << (BITS_PER_WORD - 1).  Avoid undefined behavior
	in the compiler if coeff is HOST_WIDE_INT_MIN.
	(expand_divmod): Don't make ext_op1 static, change it's type to
	uhwi.  Avoid undefined behavior in -INTVAL (op1).

	* gcc.dg/torture/pr56420.c: New test.


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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196218 138bc75d-0d04-0410-961f-82ee72b054a4
2013-02-22  Greta Yorsh  <Greta.Yorsh@arm.com>

        * config/arm/arm.md (split for extendsidi): Update condition.
        (zero_extend<mode>di2,extend<mode>di2): Add an alternative.
        * config/arm/iterators.md (qhs_extenddi_cstr): Likewise.
        (qhs_zextenddi_cstr): Likewise.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196220 138bc75d-0d04-0410-961f-82ee72b054a4
2013-02-22  Seth LaForge  <sethml@google.com>

	* config.gcc (arm*-*-eabi*): Treat arm*eb as big-endian.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196221 138bc75d-0d04-0410-961f-82ee72b054a4
	PR sanitizer/56393
	* config/gnu-user.h (LIBASAN_EARLY_SPEC): Link in libasan_preinit.o
	if not linking a shared library.

	* lib/asan-dg.exp (asan_link_flags): Add
	-B${gccpath}/libsanitizer/asan/ to flags.

	* asan/Makefile.am (nodist_toolexeclib_HEADERS): Set to
	libasan_preinit.o.
	(libasan_preinit.o): Depend on asan_preinit.o.
	* asan/Makefile.in: Regenerated.
	* asan/asan_preinit.cc: New file, synced from upstream.
	* asan/asan_rtl.cc: Remove preinit stuff, synced from upstream.


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

	PR inline-asm/56148
	* lra-constraints.c (process_alt_operands): Reload operand
	conflicting with earlier clobber only if no more other conflicting
	operands.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196223 138bc75d-0d04-0410-961f-82ee72b054a4
[AArch64] Add missing copyright and build dependency for aarch64-simd-builtins.def

gcc/
	* config/aarch64/aarch64-simd-builtins.def: Add copyright header.
	* config/aarch64/t-aarch64
	(aarch64-builtins.o): Depend on aarch64-simd-builtins.def.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196224 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/56395
	* tree.c (strip_typedefs): Strip typedefs from TYPENAME_TYPE template
	args.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196228 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/56359
	* call.c (can_convert_arg): Discard access checks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196229 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/56377
	* pt.c (fn_type_unification): Use explicit args in template
	instantiation context.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196230 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/40405
	* pt.c (push_template_decl_real): Set DECL_INTERFACE_KNOWN
	if we got the wrong number of template parms.

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

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196241 138bc75d-0d04-0410-961f-82ee72b054a4
	* resolve.c (generate_component_assignments): Don't use UTF-8
	ligature in diagnostic.


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


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