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]

[RFA] Patch for PR debug/40109


Hello,

In the code example accompanying the attached patch, the problem is
that the DIE of the typedef declaration is not correctly nested. It is
generated as a child of the function main instead of being a child of
the namespace A.

The patch ensures that typedef DIEs are generated as children of the
containing namespace's DIE.

Other type DIEs are already properly nested.

The patch passes bootstrap and regtests on 4.3, 4.4 and trunk.
I also ran the GDB tests and I didn't notice any regression for these
branches.

OK to commit to these branches ?

-- 
Dodji Seketeli
Red Hat, Inc

Attachment: gcc-PR40109-patch.txt
Description: Text document


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