This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ Patch] PR 30659
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Paolo Carlini <pcarlini at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 25 Oct 2007 20:39:32 -0700
- Subject: Re: [C++ Patch] PR 30659
- References: <46F3B782.3060701@suse.de>
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