fix assert fail in C++ -g2 with #pragma interface typedef in namespace

Alexandre Oliva aoliva@redhat.com
Wed Jun 27 22:02:00 GMT 2007


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

-- 
Alexandre Oliva         http://www.lsd.ic.unicamp.br/~oliva/
FSF Latin America Board Member         http://www.fsfla.org/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}



More information about the Gcc-patches mailing list