* config/rl78/rl78.c (rl78_expand_epilogue): Generate a USE of the
	pop'ed registers so that DCE does not eliminate them.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215375 138bc75d-0d04-0410-961f-82ee72b054a4
2014-09-19  Olivier Hainque  <hainque@adacore.com>

        * varasm.c (default_section_type_flags): Flag .persistent.bss
        sections as SECTION_BSS.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215376 138bc75d-0d04-0410-961f-82ee72b054a4
2014-09-18  Olivier Hainque  <hainque@adacore.com>

gcc/
	* config.gcc (powerpc-wrs-vxworksmils): New configuration.
	* config/rs6000/t-vxworksmils: New file.
	* config/rs6000/vxworksmils.h: New file.

libgcc/
	* config.host (powerpc-wrs-vxworksmils): New configuration,
	same as vxworksae.

contrib/
	* config-list.mk (LIST): Add powerpc-wrs-vxworksmils.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215377 138bc75d-0d04-0410-961f-82ee72b054a4
2014-09-19  Olivier Hainque  <hainque@adacore.com>

        * config/i386/vxworksae.h: Remove obsolete definitions.
        (STACK_CHECK_PROTECT): Define.
        * config/i386/vx-common.h: Remove.  Merge contents within
        config/i386/vxworks.h.
        * config.gcc (i?86-vxworks*): Use i386/vxworks.h instead of
        i386/vx-common.h.



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

2014-09-19  Marat Zakirov  <m.zakirov@samsung.com>

	* asan.c (build_check_stmt): Alignment arg was added.
	(asan_expand_check_ifn): Optimization for alignment >= 8.

gcc/testsuite/ChangeLog:

2014-09-19  Marat Zakirov  <m.zakirov@samsung.com>

	* c-c++-common/asan/red-align-1.c: New test.
	* c-c++-common/asan/red-align-2.c: New test.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215380 138bc75d-0d04-0410-961f-82ee72b054a4
2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	PR target/62662
	* config/s390/s390.c (s390_emit_epilogue): When doing the return
	address load optimization force s390_optimize_prologue to leave it
	that way.  Only do the optimization if we already decided to push
	r14 into a stack slot.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215381 138bc75d-0d04-0410-961f-82ee72b054a4
2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* config/s390/s390.md ("trunctdsd2", "extendsdtd2"): New
	expanders.

2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* gcc.target/s390/dfp-conv1.c: New testcase.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215382 138bc75d-0d04-0410-961f-82ee72b054a4
2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* config/s390/s390.c (s390_emit_epilogue): Remove bogus
	assignment.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215384 138bc75d-0d04-0410-961f-82ee72b054a4
[PATCH AArch64]: Add constraint letter for stack_protect_test  pattern

gcc/

	* config/aarch64/aarch64.md (stack_protect_test_<mode>): Mark
	scratch register as an output to placate register renaming.

gcc/testsuite/

	* gcc.dg/ssp-3.c: New.
	* gcc.dg/ssp-4.c: Likewise.




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

	PR c++/58328
	* g++.dg/cpp0x/nsdmi10.C: New.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215386 138bc75d-0d04-0410-961f-82ee72b054a4
2014-09-19  Joost VandeVondele  <vondele@gcc.gnu.org>

	PR fortran/63152
	* trans-array.c (gfc_trans_deferred_array): Only nullify allocatables.

2014-09-19  Joost VandeVondele  <vondele@gcc.gnu.org>

	PR fortran/63152
	* gfortran.dg/auto_char_dummy_array_1.f90: Fix undefined behavior.
	* gfortran.dg/pr63152.f90: New test.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215387 138bc75d-0d04-0410-961f-82ee72b054a4
[Patch] Teach genrecog/genoutput that scratch registers require write  constraint modifiers

gcc/

	* doc/md.texi (Modifiers): Consistently use "read/write"
	nomenclature rather than "input/output".
	* genrecog.c (constraints_supported_in_insn_p): New.
	(validate_pattern): If needed, also check constraints on
	MATCH_SCRATCH operands.
	* genoutput.c (validate_insn_alternatives): Catch earlyclobber
	operands with no '=' or '+' modifier.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215388 138bc75d-0d04-0410-961f-82ee72b054a4
PR ipa/61998 Fix crash -Wsuggest-final-types crash

-Wsuggest-final-types crashes when used on mininal testcases.
Fix by bailing out early when odr_types_ptr is NULL in ipa_devirt()

2014-09-19  Markus Trippelsdorf  <markus@trippelsdorf.de>

        PR ipa/61998
        * ipa-devirt.c (ipa_devirt): Bail out if odr_types_ptr is NULL.

2014-09-19  Markus Trippelsdorf  <markus@trippelsdorf.de>

        PR ipa/61998
        * g++.dg/warn/Wsuggest-final-2.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215392 138bc75d-0d04-0410-961f-82ee72b054a4
[Patch sh] Fixup use of constraints in define_split

	* config/sh/sh.md: Fix use of constraints in define_split.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215393 138bc75d-0d04-0410-961f-82ee72b054a4
	* simple-object-elf.c (simple_object_elf_write_ehdr): Correctly
	handle objects with more than SHN_LORESERVE sections.
	(simple_object_elf_write_shdr): Add sh_link parameter.
	(simple_object_elf_write_to_file): Correctly handle objects with
	more than SHN_LORESERVE sections.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215394 138bc75d-0d04-0410-961f-82ee72b054a4
	* config/rs6000/rs6000.c (rs6000_special_adjust_field_align_p):
	Update GCC version name to GCC 5.
	(rs6000_function_arg_boundary): Likewise.
	(rs6000_function_arg): Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215395 138bc75d-0d04-0410-961f-82ee72b054a4
	* dwarf2out.c (decl_ultimate_origin): Update comment.
	* tree.c (block_ultimate_origin): Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215396 138bc75d-0d04-0410-961f-82ee72b054a4
Re: [Patch] Teach genrecog/genoutput that scratch registers require write constraint modifiers

gcc/

	* genrecog.c (validate_pattern): Allow empty constraints in
	a match_scratch.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215397 138bc75d-0d04-0410-961f-82ee72b054a4
        * cfgrtl.c ira.c ira-color.c ira-conflicts ira-lives.c: Update
        comments and fix spacing to conform to coding style.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215398 138bc75d-0d04-0410-961f-82ee72b054a4
2014-09-19  Segher Boessenkool  <segher@kernel.crashing.org>

	* recog.c (scratch_operand): Do not simply allow all hard registers:
	only allow those that are allocatable.


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