This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: fix assert fail in C++ -g2 with #pragma interface typedef in namespace
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Alexandre Oliva <aoliva at redhat dot com>
- Cc: Jakub Jelinek <jakub at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 28 Jun 2007 19:29:30 -0700
- Subject: Re: fix assert fail in C++ -g2 with #pragma interface typedef in namespace
- References: <orejoud58y.fsf@free.oliva.athome.lsd.ic.unicamp.br> <20070522152722.GI4033@devserv.devel.redhat.com> <or7ipp13u0.fsf@oliva.athome.lsd.ic.unicamp.br>
Alexandre Oliva wrote:
> On May 22, 2007, Jakub Jelinek <jakub@redhat.com> wrote:
>
>> On Tue, Feb 13, 2007 at 02:57:17AM -0200, Alexandre Oliva wrote:
>>> If a dwarf2 die node in limbo has a context that's a namespace, as
>>> opposed to a function, the assertion patched below fails, even though
>>> it ought to be perfectly acceptable to have a namespace as the context
>>> in this case.
>>>
>>> Tested on x86_64-linux-gnu. Ok to install?
>
>> Could this be applied also to gcc-4_2-branch and gcc-4_1-branch?
>
> I've bootstrap and regression-tested this patch on both 4.2 and 4.1.
> Ok to install?
>
> http://gcc.gnu.org/ml/gcc-patches/2007-02/msg01127.html
OK.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713