2014-05-12  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/51199
	* g++.dg/template/pr51199.C: New.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210321 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/
	* config/arm/arm.h (License): Add GCC Runtime Library Exception.
	* config/arm/aout.h (License): Same.
	* config/arm/bpabi.h (License): Same.
	* config/arm/elf.h (License): Same.
	* config/arm/linux-elf.h (License): Same.
	* config/arm/linux-gas.h (License): Same.
	* config/arm/netbsd-elf.h (License): Same.
	* config/arm/uclinux-eabi.h (License): Same.
	* config/arm/uclinux-elf.h (License): Same.
	* config/arm/vxworks.h (License): Same.

libgcc/
	* config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210322 138bc75d-0d04-0410-961f-82ee72b054a4
2014-05-12  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/60054
	* g++.dg/cpp1y/pr60054.C: New.


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

	PR target/60991
	* config/avr/avr.c (avr_out_store_psi): Use correct constant
	to restore Y.

gcc/testsuite/ChangeLog

	PR target/60991
	* gcc.target/avr/pr60991.c: New testcase.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210325 138bc75d-0d04-0410-961f-82ee72b054a4
2014-05-12  Paolo Carlini  <paolo.carlini@oracle.com>

	* cvt.c (cp_convert_to_pointer): Don't call error_at if
	complain & tf_error is false.

	* decl.c (make_unbound_class_template): Prefer inform for
	"declared here"-type message.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210326 138bc75d-0d04-0410-961f-82ee72b054a4
2014-05-12  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/60834
	* frontend-passes.c (in_assoc_list):  New variable.
	(optimize_namespace):  Initialize in_assoc_list
	(combine_array_constructor): Don't try to combine
	assoc lists.
	(gfc_code_walker):  Keep track of in_assoc_list.

2014-05-12  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/60834
	* gfortran.dg/associate_16.f90:  New test.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210329 138bc75d-0d04-0410-961f-82ee72b054a4
2014-05-12  David Wohlferd <dw@LimeGreenSocks.com>

	* doc/tm.texi: Remove reference to deleted macro.
	* doc/tm.texi.in: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210330 138bc75d-0d04-0410-961f-82ee72b054a4
2014-05-12  Tobias Burnus  <burnus@net-b.de>

        PR fortran/60127
        * openmp.c (resolve_omp_do): Reject do concurrent loops.

2014-05-12  Tobias Burnus  <burnus@net-b.de>

        PR fortran/60127
        * gfortran.dg/gomp/omp_do_concurrent.f90: New.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210331 138bc75d-0d04-0410-961f-82ee72b054a4
	* call.c (convert_like_real): Use inform for identifying the
	declaration point.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210332 138bc75d-0d04-0410-961f-82ee72b054a4
2014-05-12  Dimitris Papavasiliou  <dpapavas@gmail.com>

	    * doc/invoke.texi: Document new switches -Wno-shadow-ivar,
	    -fno-local-ivars and -fivar-visibility.
	    * c-family/c.opt: Make -Wshadow also implicitly enable
	    -Wshadow-ivar.

testsuite:
	    * objc.dg/shadow-1.m: New test.
	    * objc.dg/shadow-2.m: New test.
	    * objc.dg/ivar-scope-1.m: New test.
	    * objc.dg/ivar-scope-2.m: New test.
	    * objc.dg/ivar-scope-3.m: New test.
	    * objc.dg/ivar-scope-4.m: New test.
	    * objc.dg/ivar-visibility-1.m: New test.
	    * objc.dg/ivar-visibility-2.m: New test.
	    * objc.dg/ivar-visibility-3.m: New test.
	    * objc.dg/ivar-visibility-4.m: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210333 138bc75d-0d04-0410-961f-82ee72b054a4
Use -std=gnu11 instead of -std=gnu99 for libgfortran C code.

2014-05-12  Janne Blomqvist  <jb@gcc.gnu.org>

	* configure.ac (AM_CFLAGS): Use -std=gnu11.
	(CFLAGS): Likewise.
	* configure: Regenerated.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210334 138bc75d-0d04-0410-961f-82ee72b054a4
Fix stack overflow crash in getcwd intrinsic.

2014-05-12  Janne Blomqvist  <jb@gcc.gnu.org>

	PR libfortran/61035
	* intrinsics/getcwd.c (getcwd_i4_sub): Avoid potentially large
	stack allocation, avoid extra copying in the common case.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210335 138bc75d-0d04-0410-961f-82ee72b054a4
2014-05-12  Dimitris Papavasiliou  <dpapavas@gmail.com>

            * doc/invoke.texi: Document new switches -Wno-shadow-ivar,
            -fno-local-ivars and -fivar-visibility.
            * c-family/c.opt: Make -Wshadow also implicitly enable
            -Wshadow-ivar.

testsuite:
            * objc.dg/shadow-1.m: New test.
            * objc.dg/shadow-2.m: New test.
            * objc.dg/ivar-scope-1.m: New test.
            * objc.dg/ivar-scope-2.m: New test.
            * objc.dg/ivar-scope-3.m: New test.
            * objc.dg/ivar-scope-4.m: New test.
            * objc.dg/ivar-visibility-1.m: New test.
            * objc.dg/ivar-visibility-2.m: New test.
            * objc.dg/ivar-visibility-3.m: New test.
            * objc.dg/ivar-visibility-4.m: New test.

Now, actuatally add the files....


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210339 138bc75d-0d04-0410-961f-82ee72b054a4
        PR other/31778
        * genattrtab.c (filename): Add.
        (convert_set_attr_alternative): Improve error message.
	(check_defs): Restore read_md_filename for error messages.
        (gen_insn): Save filename.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210340 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc.dg/sibcall-3.c: MSP430 doesn't have sibcall.
* gcc.dg/sibcall-4.c: Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210341 138bc75d-0d04-0410-961f-82ee72b054a4
	* doc/extend.texi: Reflect current numbers of pragmas.  Remove
	reference to Solaris.


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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210349 138bc75d-0d04-0410-961f-82ee72b054a4
	* call.c (maybe_print_user_conv_context): New.
	(convert_like_real): Use it.  Print call context for bad
	user-defined conversion.
	(build_over_call): Print call context for bad 'this' conversion.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210350 138bc75d-0d04-0410-961f-82ee72b054a4
2014-05-13  Zhenqiang Chen  <zhenqiang.chen@linaro.org>

	* Makefile.in: add shrink-wrap.o.
	* config/i386/i386.c: include "shrink-wrap.h"
	* function.c: Likewise.
	(requires_stack_frame_p, next_block_for_reg,
	move_insn_for_shrink_wrap, prepare_shrink_wrap,
	dup_block_and_redirect): Move to shrink-wrap.c
	(thread_prologue_and_epilogue_insns): Extract three code segments
	as functions in shrink-wrap.c
	* function.h: Move #ifdef HAVE_simple_return ... #endif block to
	shrink-wrap.h
	* shrink-wrap.c: New file.
	* shrink-wrap.h: New file.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210351 138bc75d-0d04-0410-961f-82ee72b054a4
	PR target/61060
	* config/i386/i386.c (ix86_expand_set_or_movmem): If count_exp
	is const0_rtx, return immediately.  Don't test count == 0 when
	it is always true.

	* gcc.dg/pr61060.c: New test.


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