libiberty: Expose choose_tmpdir, and fix constness of return type

include/ChangeLog:
	* libiberty.h (choose_tmpdir): New prototype.

libiberty/ChangeLog:
	* choose-temp.c (choose_tmpdir): Remove now-redundant local
	copy of prototype.
	* functions.texi: Regenerate.
	* make-temp-file.c (choose_tmpdir): Convert return type from
	char * to const char * - given that this returns a pointer to
	a memoized allocation, the caller must not touch it.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216285 138bc75d-0d04-0410-961f-82ee72b054a4
2014-10-15  François Dumont  <fdumont@gcc.gnu.org>
	    Jonathan Wakely  <jwakely@redhat.com>

	PR libstdc++/63500
	* include/debug/functions.h (__foreign_iterator_aux2): Do not check for
	foreign iterators if input iterators returns rvalue reference.
	* testsuite/23_containers/vector/63500.cc: New.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216286 138bc75d-0d04-0410-961f-82ee72b054a4
2014-10-15  Daniel Krugler  <daniel.kruegler@gmail.com>

	* testsuite/20_util/common_type/requirements/sfinae_friendly_1.cc:
	Enable tests predicated on PR c++/53000.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216287 138bc75d-0d04-0410-961f-82ee72b054a4
timevar.h: Add an auto_timevar class

Patch authored by Tom Tromey; originally contributed by him to jit
branch on 2014-03-19.

gcc/ChangeLog:
	* timevar.h (class auto_timevar): New class.



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