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
cfns.gperf
ChangeLog
ChangeLog-1993
ChangeLog-1994
ChangeLog-1995
ChangeLog-1996
ChangeLog-1997
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog.apple
ChangeLog.gcc43
ChangeLog.tree-ssa
class.c
config-lang.in
cp-gimplify.c
cp-lang.c
cp-objcp-common.c
cp-objcp-common.h
cp-tree.def
cp-tree.h
cvt.c
cxx-pretty-print.c
cxx-pretty-print.h
decl2.c
decl.c
decl.h
dump.c
error.c
except.c
expr.c
friend.c
g++.1
g++spec.c
init.c
lang-specs.h
lex.c
Make-lang.in
mangle.c
method.c
name-lookup.c
name-lookup.h
NEWS
operators.def
optimize.c
parser.c
pt.c
ptree.c
repo.c
rtti.c
search.c
semantics.c
tree.c
typeck2.c
typeck.c