This is the mail archive of the gcc-bugs@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]

Re: nested template misclassified


> I've looked at the code in pt.c and decl.c for several days now and
> cannot figure how to solve this problem.  I'd appreciate any more
> documentation (than that in source code)on how the tree data
> structure (in gcc/tree.h and gcc/cp/cp-tree.h) works.

Please have a look at ir.texi and gxxint.texi. If you study things in
gdb, given a variable decl pointing to some tree, it is quite helpful
to type

p debug_tree(decl)

Regards,
Martin

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