/cp
2013-07-24  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/57942
	* typeck.c (ptr_reasonably_similar): Use COMPARE_STRICT if one of
	the target types is incomplete; return a bool, not an int.
	* cp-tree.h (ptr_reasonably_similar): Adjust declaration.

/testsuite
2013-07-24  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/57942
	* g++.dg/inherit/pr57942.C: New.


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

	Tweak last ChangeLog entry.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201202 138bc75d-0d04-0410-961f-82ee72b054a4
net/http: Don't try to trace sendfile64 on alpha.

From Uros Bizjak.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201206 138bc75d-0d04-0410-961f-82ee72b054a4
2013-07-24  Bill Schmidt  <wschmidt@vnet.linux.ibm.com>
	    Anton Blanchard <anton@au1.ibm.com>

	* vector.md (vec_realign_load_<mode>): Reorder input operands to
	vperm for little endian.
	* rs6000.c (rs6000_expand_builtin): Use lvsr instead of lvsl to
	create the control mask for a vperm for little endian.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201208 138bc75d-0d04-0410-961f-82ee72b054a4
runtime: Move new 1.1.1 functions from thread-linux.c to runtime.c.

This way they are compiled on non-GNU/Linux systems.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201209 138bc75d-0d04-0410-961f-82ee72b054a4
2013-07-24  Tim Shen  <timshen91@gmail.com>

	Reimplment matcher using Depth-first search(backtracking).
	PR libstdc++/53622
	PR libstdc++/57173
	* include/bits/regex.h: regex_match() and regex_search().
	* include/bits/regex_cursor.h: Fix _M_set_pos().
	* include/bits/regex_grep_matcher.h: add _M_dfs_match().
	* include/bits/regex_grep_matcher.tcc: Implement it.
	* testsuite/28_regex/algorithms/regex_match/extended/string_group_01.cc:
	New.
	* testsuite/28_regex/algorithms/regex_match/extended/string_group_02.cc:
	New.
	* testsuite/28_regex/algorithms/regex_search/basic/string_01.cc:
	Remove xfail.


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

	* include/bits/random.h (random_device): Avoid using the FILE type.
	* include/std/random: Do not include <cstdio>.
	* src/c++11/random.cc: ... include it here.
	(random_device::_M_init, random_device::_M_fini,
	random_device::_M_getval): Cast back and forth void* and FILE*.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201215 138bc75d-0d04-0410-961f-82ee72b054a4
net: Only use GNU/Linux unix socket abstract paths on GNU/Linux.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201217 138bc75d-0d04-0410-961f-82ee72b054a4
runtime: Check _end rather than end to find end of program.

This fixes a problem on Solaris, where end is not defined in
the main program but comes from some shared library.  This
only matters for 32-bit targets.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201220 138bc75d-0d04-0410-961f-82ee72b054a4
	* go-gcc.cc (Gcc_backend::non_zero_size_type): If a struct has a
	fields, recreate those fields with the first one with a non-zero
	size.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201222 138bc75d-0d04-0410-961f-82ee72b054a4
        PR rtl-optimization/57968
        * mode-switching.c (create_pre_exit): Allow instructions that
        don't set a return register to need a non-exit mode.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201225 138bc75d-0d04-0410-961f-82ee72b054a4
runtime: Handle allocating memory in cgo/SWIG function.

A function that returns an interface type and returns a value
that requires memory allocation will try to allocate while
appearing to be in a syscall.  This patch lets that work.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201226 138bc75d-0d04-0410-961f-82ee72b054a4
2013-07-24  David Malcolm  <dmalcolm@redhat.com>

	Introduce context class.

	* Makefile.in (CONTEXT_H): New.
	(OBJS): Add context.o.
	(toplev.o): Add CONTEXT_H to dependencies.
	(context.o): New.

	* toplev.c (general_init): Create the singleton gcc::context
	instance.

	* context.c: New.

	* context.h: New.



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

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