2014-06-06  Bingfeng Mei  <bmei@broadcom.com>

	* targhooks.c (default_add_stmt_cost): Call target specific
	hook instead of default one.


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

	PR c++/60432
	* g++.dg/cpp0x/constexpr-60432.C: New.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211312 138bc75d-0d04-0410-961f-82ee72b054a4
2014-06-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    * gcc.c-torture/execute/bswap-2.c: Add alignment constraints to
    bitfield and test wrong results instead of correct results to make the
    test more portable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211313 138bc75d-0d04-0410-961f-82ee72b054a4
[AArch64] Implement movmem for the benefit of inline memcpy

gcc/

	* config/aarch64/aarch64-protos.h (aarch64_expand_movmem): New.
	* config/aarch64/aarch64.c (aarch64_move_pointer): New.
	(aarch64_progress_pointer): Likewise.
	(aarch64_copy_one_part_and_move_pointers): Likewise.
	(aarch64_expand_movmen): Likewise.
	* config/aarch64/aarch64.h (MOVE_RATIO): Set low.
	* config/aarch64/aarch64.md (movmem<mode>): New.

gcc/testsuite/

	* gcc.dg/tree-ssa/pr42585.c: Skip for AArch64.
	* gcc.dg/tree-ssa/sra-12.c: Likewise.



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

	* ipa-prop.c (get_place_in_agg_contents_list): New function.
	(build_agg_jump_func_from_list): Likewise.
	(determine_known_aggregate_parts): Renamed to
	determine_locally_known_aggregate_parts.  Moved some functionality
	to the two functions above, removed bound checks.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211315 138bc75d-0d04-0410-961f-82ee72b054a4
	* doc/xml/faq.xml (faq.stream_reopening_fails): Replace <quote> in
	code example.
	* doc/xml/manual/backwards_compatibility.xml
	(backwards.second.stringstreams): Likewise.
	* doc/xml/manual/configure.xml (--enable-libstdcxx-time): Document
	change of default.
	* doc/xml/manual/containers.xml (associative.bitset.type_string):
	Replace <quote> in code example.
	* doc/xml/manual/debug.xml: Clarify reference to ThreadSanitizer.
	* doc/xml/manual/documentation_hacking.xml: Improve debugging tips,
	fix typos, improve markup.
	* doc/xml/manual/intro.xml (manual.intro.status.bugs.iso): Replace
	<emphasis> with <replaceable>.
	* doc/xml/manual/locale.xml (locale.impl.c): Remove backticks.
	* doc/xml/manual/support.xml (std.support.memory): Replace <quote>
	and remove newlines in string literal.

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

	PR tree-optimization/59299
	* tree-ssa-sink.c (all_immediate_uses_same_place): Work on
	a def operand.
	(nearest_common_dominator_of_uses): Likewise.
	(statement_sink_location): Adjust.  Support sinking loads.

	* gcc.dg/tree-ssa/ssa-sink-10.c: New testcase.


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

	PR c++/60184
	* class.c (check_field_decls): In C++11 mode do not reject
	static data members and reference-type members in unions.

/testsuite
2014-06-06  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/60184
	* g++.dg/cpp0x/constexpr-union6.C: New.
	* g++.dg/cpp0x/union6.C: Likewise.
	* g++.dg/init/ref14.C: Adjust.
	* g++.dg/init/union1.C: Likewise.


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

	PR rtl-optimization/61325
	* lra-constraints.c (process_address_1): Check scale equal to one
	to prevent transformation: base + scale * index => base + new_reg.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211320 138bc75d-0d04-0410-961f-82ee72b054a4
	PR target/61423
	* config/i386/i386.md (*floatunssi<mode>2_i387_with_xmm): New
	define_insn_and_split pattern, merged from *floatunssi<mode>2_1
	and corresponding splitters.  Zero extend general register
	or memory input operand to XMM temporary.  Enable for
	TARGET_SSE2 and TARGET_INTER_UNIT_MOVES_TO_VEC only.
	(floatunssi<mode>2): Update expander predicate.

testsuite/ChangeLog:

	PR target/61423
	* gcc.target/i386/pr61423.c: New test.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211321 138bc75d-0d04-0410-961f-82ee72b054a4
	* io.c (resolve_tag): Warn on non-default kind for NUMBER,
	NEXTREC, RECL, NAMED, OPENED and PENDING I/O specifiers.

	* gfortran.dg/io_constraints_11.f90: New file.
	* gfortran.dg/io_constraints_12.f90: New file.
	* gfortran.dg/io_constraints_13.f90: New file.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211323 138bc75d-0d04-0410-961f-82ee72b054a4
2014-06-06  François Dumont  <fdumont@gcc.gnu.org>

	* testsuite/23_containers/map/operators/1.cc: Simplify test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211324 138bc75d-0d04-0410-961f-82ee72b054a4
update my email address

2014-06-06  Sebastian Pop  <sebpop@gmail.com>

* MAINTAINERS: Update my email address.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211327 138bc75d-0d04-0410-961f-82ee72b054a4
libgo: Merge to master revision 19184.

The next revision, 19185, renames several runtime files, and
will be handled in a separate change.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211328 138bc75d-0d04-0410-961f-82ee72b054a4
2014-06-06  Michael Meissner  <meissner@linux.vnet.ibm.com>

	PR target/61431
	* config/rs6000/vsx.md (VSX_LE): Split VSX_D into 2 separate
	iterators, VSX_D that handles 64-bit types, and VSX_LE that
	handles swapping the two 64-bit double words on little endian
	systems.  Include V1TImode and optionally TImode in VSX_LE so that
	these types are properly swapped.  Change all of the insns and
	splits that do the 64-bit swaps to use VSX_LE.
	(vsx_le_perm_load_<mode>): Likewise.
	(vsx_le_perm_store_<mode>): Likewise.
	(splitters for little endian memory operations): Likewise.
	(vsx_xxpermdi2_le_<mode>): Likewise.
	(vsx_lxvd2x2_le_<mode>): Likewise.
	(vsx_stxvd2x2_le_<mode>): Likewise.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211329 138bc75d-0d04-0410-961f-82ee72b054a4
	PR target/18343
	* gcc.dg/torture/stackalign/builtin-return-1.c (STACK_ARGUMENTS_SIZE):
	New macro, 0 for __MMIX__, default 64.
	(bar): Pass it to __builtin_apply instead of literal 64.


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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211339 138bc75d-0d04-0410-961f-82ee72b054a4
2014-06-06  Ed Smith-Rowland  <3dw4rd@verizon.net>

	DR 2344 - std::quoted doesn't respect padding
	* include/std/iomanip: Allow for padding in quoted inserters.
	* testsuite/27_io/manipulators/standard/char/dr2344.cc: New.
	* testsuite/27_io/manipulators/standard/wchar_t/dr2344.cc: New.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211340 138bc75d-0d04-0410-961f-82ee72b054a4
	* tree-ssa-tail-merge.c (same_succ_hash): Hash the static chain of a
	call statement, if any.
	(gimple_equal_p) <GIMPLE_CALL>: Compare the static chain of the call
	statements, if any.  Tidy up.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211342 138bc75d-0d04-0410-961f-82ee72b054a4
	* gcse.c (can_assign_to_reg_without_clobbers_p): Do not let pointers
	from test_insn into GGC space escape via SET_SRC.



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