freebsd-dev/contrib/gcc/cp
Dimitry Andric b42a6953a1 Pull in r174303 from upstream gcc trunk (by Jason Merrill):
PR c++/48211
  * name-lookup.h (cp_class_binding): Make base a pointer.
  * name-lookup.c (new_class_binding): Adjust.
  (poplevel_class): Adjust.

This fixes a potential segfault when compiling gold, a part of the
devel/binutils port, with gcc.  See also the upstream bug report:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48211

Thanks to Jason Merrill, Tom Callaway and Red Hat legal for approving
the use of this patch under the GNU GPL, version 2 or later.

MFC after:	1 week
2014-12-04 17:26:04 +00:00
..
call.c gcc: Add support for Apple's Block extension 2014-01-05 00:43:28 +00:00
cfns.gperf Reorganize the gcc vendor import work area. This flattens out a bunch 2008-06-01 00:03:21 +00:00
ChangeLog Revert r260073; small diff reduction wrt gcc43 and Apple GCC. 2014-01-02 13:53:53 +00:00
ChangeLog-1993 Reorganize the gcc vendor import work area. This flattens out a bunch 2008-06-01 00:03:21 +00:00
ChangeLog-1994 Reorganize the gcc vendor import work area. This flattens out a bunch 2008-06-01 00:03:21 +00:00
ChangeLog-1995 Reorganize the gcc vendor import work area. This flattens out a bunch 2008-06-01 00:03:21 +00:00
ChangeLog-1996 Reorganize the gcc vendor import work area. This flattens out a bunch 2008-06-01 00:03:21 +00:00
ChangeLog-1997 Reorganize the gcc vendor import work area. This flattens out a bunch 2008-06-01 00:03:21 +00:00
ChangeLog-1998 Reorganize the gcc vendor import work area. This flattens out a bunch 2008-06-01 00:03:21 +00:00
ChangeLog-1999 Reorganize the gcc vendor import work area. This flattens out a bunch 2008-06-01 00:03:21 +00:00
ChangeLog-2000 Reorganize the gcc vendor import work area. This flattens out a bunch 2008-06-01 00:03:21 +00:00
ChangeLog-2001 Reorganize the gcc vendor import work area. This flattens out a bunch 2008-06-01 00:03:21 +00:00
ChangeLog-2002 Reorganize the gcc vendor import work area. This flattens out a bunch 2008-06-01 00:03:21 +00:00
ChangeLog-2003 Reorganize the gcc vendor import work area. This flattens out a bunch 2008-06-01 00:03:21 +00:00
ChangeLog-2004 Reorganize the gcc vendor import work area. This flattens out a bunch 2008-06-01 00:03:21 +00:00
ChangeLog.apple gcc: Drop useless objc change from r260311. 2014-01-17 21:21:28 +00:00
ChangeLog.gcc43 gcc: backport some fixes from llvm-gcc 2014-01-05 20:33:44 +00:00
ChangeLog.tree-ssa Reorganize the gcc vendor import work area. This flattens out a bunch 2008-06-01 00:03:21 +00:00
class.c gcc: Add support for Apple's Block extension 2014-01-05 00:43:28 +00:00
config-lang.in Reorganize the gcc vendor import work area. This flattens out a bunch 2008-06-01 00:03:21 +00:00
cp-gimplify.c gcc: Add support for Apple's Block extension 2014-01-05 00:43:28 +00:00
cp-lang.c gcc: add femit-struct-debug support to reduce Reduce dwarf debug size 2013-11-16 01:16:24 +00:00
cp-objcp-common.c gcc: Add support for Apple's Block extension 2014-01-05 00:43:28 +00:00
cp-objcp-common.h gcc: Add support for Apple's Block extension 2014-01-05 00:43:28 +00:00
cp-tree.def gcc: Add support for label attributes and "unavailable" attribute. 2013-12-28 20:30:31 +00:00
cp-tree.h gcc: Add support for Apple's Block extension 2014-01-05 00:43:28 +00:00
cvt.c gcc: clean some warnings from -Wformat-security 2013-12-20 20:57:13 +00:00
cxx-pretty-print.c Upgrade of base gcc and libstdc++ to the last GPLv2-licensed revision 2011-03-29 20:53:51 +00:00
cxx-pretty-print.h Reorganize the gcc vendor import work area. This flattens out a bunch 2008-06-01 00:03:21 +00:00
decl2.c gcc: Add support for Apple's Block extension 2014-01-05 00:43:28 +00:00
decl.c gcc: Add support for -Wmissing-prototypes in C++ 2014-01-26 02:36:06 +00:00
decl.h gcc: Add support for Apple's Block extension 2014-01-05 00:43:28 +00:00
dump.c gcc: Add support for label attributes and "unavailable" attribute. 2013-12-28 20:30:31 +00:00
error.c gcc: Add support for Apple's Block extension 2014-01-05 00:43:28 +00:00
except.c gcc: revert Rvalue references. 2013-12-20 18:09:34 +00:00
expr.c Reorganize the gcc vendor import work area. This flattens out a bunch 2008-06-01 00:03:21 +00:00
friend.c Reorganize the gcc vendor import work area. This flattens out a bunch 2008-06-01 00:03:21 +00:00
g++.1 Reorganize the gcc vendor import work area. This flattens out a bunch 2008-06-01 00:03:21 +00:00
g++spec.c Revert r260073; small diff reduction wrt gcc43 and Apple GCC. 2014-01-02 13:53:53 +00:00
init.c gcc: Add support for Apple's Block extension 2014-01-05 00:43:28 +00:00
lang-specs.h Reorganize the gcc vendor import work area. This flattens out a bunch 2008-06-01 00:03:21 +00:00
lex.c Upgrade of base gcc and libstdc++ to the last GPLv2-licensed revision 2011-03-29 20:53:51 +00:00
Make-lang.in gcc: more diff reductions against Apple GCC. 2013-12-20 14:56:52 +00:00
mangle.c gcc: Add support for Apple's Block extension 2014-01-05 00:43:28 +00:00
method.c gcc: small merges from upstream 2013-12-17 23:31:51 +00:00
name-lookup.c Pull in r174303 from upstream gcc trunk (by Jason Merrill): 2014-12-04 17:26:04 +00:00
name-lookup.h Pull in r174303 from upstream gcc trunk (by Jason Merrill): 2014-12-04 17:26:04 +00:00
NEWS Reorganize the gcc vendor import work area. This flattens out a bunch 2008-06-01 00:03:21 +00:00
operators.def Reorganize the gcc vendor import work area. This flattens out a bunch 2008-06-01 00:03:21 +00:00
optimize.c Reorganize the gcc vendor import work area. This flattens out a bunch 2008-06-01 00:03:21 +00:00
parser.c gcc: Drop useless objc change from r260311. 2014-01-17 21:21:28 +00:00
pt.c gcc: Add support for Apple's Block extension 2014-01-05 00:43:28 +00:00
ptree.c Reorganize the gcc vendor import work area. This flattens out a bunch 2008-06-01 00:03:21 +00:00
repo.c Reorganize the gcc vendor import work area. This flattens out a bunch 2008-06-01 00:03:21 +00:00
rtti.c gcc: merge upstream fix and new feature. 2013-12-20 16:01:02 +00:00
search.c Reorganize the gcc vendor import work area. This flattens out a bunch 2008-06-01 00:03:21 +00:00
semantics.c gcc: Add support for Apple's Block extension 2014-01-05 00:43:28 +00:00
tree.c gcc: Add support for Apple's Block extension 2014-01-05 00:43:28 +00:00
typeck2.c Reorganize the gcc vendor import work area. This flattens out a bunch 2008-06-01 00:03:21 +00:00
typeck.c gcc: Add support for Apple's Block extension 2014-01-05 00:43:28 +00:00