diff options
author | dim <dim@FreeBSD.org> | 2014-12-04 17:26:04 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2014-12-04 17:26:04 +0000 |
commit | bf1cd11cf5eb5f1bf1dd88648985c5bc9d26edce (patch) | |
tree | bc6c7ff3a1b9ce91850d340d232d25c1b372e4ed /contrib/llvm/lib/Transforms/Utils/InstructionNamer.cpp | |
parent | 3d8ac464a1bb45ffad4e06ad83ee0bead571e3f9 (diff) | |
download | FreeBSD-src-bf1cd11cf5eb5f1bf1dd88648985c5bc9d26edce.zip FreeBSD-src-bf1cd11cf5eb5f1bf1dd88648985c5bc9d26edce.tar.gz |
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
Diffstat (limited to 'contrib/llvm/lib/Transforms/Utils/InstructionNamer.cpp')
0 files changed, 0 insertions, 0 deletions