mangle.c
74.9 KB
-
re PR c++/8389 (Access to members of base class & templates) · 5c74d5b0
PR c++/8389 * pt.c (instantiate_template): Push class scope for member functions. (get_mostly_instantiated_function_type): Likewise. Don't call tsubst on context. Remove CONTEXTP and TPARMSP parameters. * cp-tree.h (get_mostly_instantiated_function_type): Adjust. * mangle.c (write_encoding, write_unqualified_name): Adjust. PR c++/8389 * g++.dg/template/access6.C: New test. From-SVN: r58950
Kriang Lerdsuwanakij committed