* lto-partition.c (privatize_symbol_name): Return true when
	privatizing happened.
	(rename_statics): Do not go into infinite loop when privatizing
	is not needed.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199040 138bc75d-0d04-0410-961f-82ee72b054a4
	* lto-symtab.c (lto_symtab_merge_cgraph_nodes): Resolve cross module
	weakrefs.
	* cgraph.c (dump_cgraph_node): Do not ice on unresolved alias.
	* cgraphunit.c (handle_alias_pairs): Store target of unresolved weakrefs.
	(output_weakrefs): Update.


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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199047 138bc75d-0d04-0410-961f-82ee72b054a4
2013-05-17   Easwaran Raman  <eraman@google.com>

        * tree-ssa-reassoc.c (find_insert_point): New function.
        (insert_stmt_after): Likewise.
        (get_def_stmt): Likewise.
        (ensure_ops_are_available): Likewise.
        (not_dominated_by): Likewise.
        (rewrite_expr_tree): Do not move statements beyond what is
        necessary. Remove call to swap_ops_for_binary_stmt...
        (reassociate_bb): ... and move it here.
        (build_and_add_sum): Assign UIDs for new statements.
        (linearize_expr): Likewise.
        (do_reassoc): Renumber gimple statement UIDs.

testsuite/ChangeLog:

2013-05-17   Easwaran Raman  <eraman@google.com>

        * gcc.dg/tree-ssa/reassoc-28.c: New testcase.





git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199048 138bc75d-0d04-0410-961f-82ee72b054a4
       * gcse.c (compute_ld_motion_mems): If a non-simple MEM is
       found in a REG_EQUAL note, invalidate it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199049 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/
	* recog.h (Recog_data): Rename to...
	(recog_data_d): ...this.
	(recog_data): Update accordingly.
	* recog.c (recog_data): Likewise.
	* reload.c (save_recog_data): Likewise.
	* config/picochip/picochip.c (picochip_saved_recog_data): Likewise.
	(picochip_save_recog_data, picochip_restore_recog_data): Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199050 138bc75d-0d04-0410-961f-82ee72b054a4
	* include/bits/unique_ptr.h (make_unique): Define.
	* testsuite/20_util/unique_ptr/creation/single.cc: New.
	* testsuite/20_util/unique_ptr/creation/array.cc: New.
	* testsuite/20_util/unique_ptr/creation/array_neg.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199057 138bc75d-0d04-0410-961f-82ee72b054a4
	* include/std/utility (exchange): Define.
	* testsuite/20_util/exchange/1.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199061 138bc75d-0d04-0410-961f-82ee72b054a4
	* doc/xml/manual/status_cxx2011.xml: Fix markup error.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199066 138bc75d-0d04-0410-961f-82ee72b054a4
	* include/bits/unique_ptr.h (make_unique): Declare inline.
	(unique_ptr<T[],D>::reset()): Combine two overloads into one.
	(default_delete, unique_ptr): Add doxygen comments.
	* include/bits/shared_ptr_base.h: Improve doxygen comments.
	* include/bits/shared_ptr.h: Likewise.
	* testsuite/20_util/default_delete/48631_neg.cc: Adjust dg-error line
	number.
	* testsuite/20_util/unique_ptr/assign/48635_neg.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199069 138bc75d-0d04-0410-961f-82ee72b054a4
	* include/std/typeindex (type_index::name()): LWG 2144: Add noexcept.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199070 138bc75d-0d04-0410-961f-82ee72b054a4
	* include/std/system_error (error_category::error_category()): LWG
	2145: Declare public and constexpr.
	* src/c++11/system_error.cc (error_category::error_category()): Move
	definition to ...
	* src/c++11/compatibility-c++0x.cc: Here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199071 138bc75d-0d04-0410-961f-82ee72b054a4
2013-05-19  Matthias Klose  <doko@ubuntu.com>

        * include/Makefile.am (bits_headers): Remove ${bits_host_headers}.
        (ext_headers): Remove ${ext_host_headers}.
        (stamp-${host_alias}): Create ${host_builddir}/../ext.
        (stamp-host): Link ${bits_host_headers} and ${ext_host_headers}.
        (install-headers): Install ${bits_host_headers} and ${ext_host_headers}.
        * include/Makefile.in: Regenerate.


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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199075 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/
	* config/mips/t-sde: Don't build 64-bit microMIPS multilibs.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199077 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/
	* config/mips/mips.md (extended_mips16): Remove branch case.
	(length): Remove duplicated extended_mips16 test.


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


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199079 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/
	* config/mips/mips.h (BASE_INSN_LENGTH, NOP_INSN_LENGTH): New macros.
	* config/mips/mips.c (mips_symbol_insns, mips_address_insns)
	(mips_const_insns, mips_split_const_insns, mips_load_store_insns)
	(mips_idiv_insns): Update the comments to say that the returned
	instruction counts are in units of BASE_INSN_LENGTH.
	(mips_adjust_insn_length): Multiply the mips_load_label_num_insns
	by BASE_INSN_LENGTH rather than 4.  Add the jump separately,
	using 2 rather than 4 as the length of indirect MIPS16 and
	microMIPS jumps.  Use NOP_INSN_LENGTH rather than 4 as the
	length of a NOP.  Don't divide MIPS16 lengths by 2.
	(mips16_split_long_branches): Assume a branch is long if the
	length is greater than 4 rather than 8.
	* config/mips/mips.md (length): Give MIPS16 lengths directly,
	rather than multiplying them by 2.  Multiply instruction counts
	by BASE_INSN_LENGTH rather than 4.
	(*jump_mips16, tls_get_tp_mips16_<mode>)
	(*tls_get_tp_mips16_call_<mode>): Divide lengths by 2.


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

	* Revert last commit.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199081 138bc75d-0d04-0410-961f-82ee72b054a4
	* include/std/tuple (get): Implement N3670.
	* include/std/utility (get): Likewise.
	* testsuite/20_util/pair/get.cc: Move to ...
	* testsuite/20_util/pair/astuple/get.cc: Here.
	* testsuite/20_util/pair/astuple/astuple.cc: New.
	* testsuite/20_util/pair/astuple/constexpr_get.cc: New.
	* testsuite/20_util/pair/astuple/constexpr_get_by_type.cc: New.
	* testsuite/20_util/pair/astuple/get_by_type.cc: New.
	* testsuite/20_util/pair/astuple/get_by_type_neg.cc: New.
	* testsuite/20_util/pair/astuple/get_neg.cc: New.
	* testsuite/20_util/tuple/element_access/constexpr_get_by_type.cc: New.
	* testsuite/20_util/tuple/element_access/get2_by_type.cc: New.
	* testsuite/20_util/tuple/element_access/get_by_type.cc: New.

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