* 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
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199090 138bc75d-0d04-0410-961f-82ee72b054a4
2013-05-20  Marc Glisse  <marc.glisse@inria.fr>

	PR c++/57175
gcc/cp/
	* typeck.c (check_return_expr): Reverse the alignment comparison.

gcc/testsuite/
	* g++.dg/pr57175.C: New testcase.



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

	PR c++/10207
	* parser.c (cp_parser_postfix_expression): Use cp_parser_braced_list
	instead of cp_parser_initializer_list for compound-literals.

/testsuite
2013-05-20  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/10207
	* g++.dg/ext/complit13.C: New.


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

	PR c++/57327
	* pt.c (unify_no_common_base): Swap arg and parm arguments to inform.

/testsuite
2013-05-20  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/57327
	* g++.dg/template/error50.C: New.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199097 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/57317
	* decl2.c (determine_visibility): Use PRIMARY_TEMPLATE_P to decide
	whether a template has its own args.

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

	PR c++/23608
	* call.c (build_new_op_1): Propagate loc to cp_build_binary_op.

/testsuite
2013-05-20  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/23608
	* g++.dg/warn/Wsign-compare-6.C: New.
	* g++.dg/warn/Wdouble-promotion.C: Adjust.


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