This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ Patch] PR 30659


Paolo Carlini wrote:

> tested x86_64-linux. Ok for mainline and 4_2-branch?

> cp/
> 2007-09-21  Paolo Carlini  <pcarlini@suse.de>
> 
> 	PR c++/30659
> 	* search.c (lookup_member): Check that xbasetype is non-NULL.
> 
> testsuite/
> 2007-09-21  Paolo Carlini  <pcarlini@suse.de>
> 
> 	PR c++/30659
> 	* g++.dg/template/crash73.C: New.

What's the callstack look like at the point of the crash?  I'm not very
keen on people calling lookup_member with xbasetype set to NULL; that
seems bad.

Thanks,

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]