]> gcc.gnu.org Git - gcc.git/commit - gcc/cp/pt.c
c++: Don't inject friends while processing templates
authorBenjamin Kosnik <bkoz@rhino.cygnus.com>
Thu, 18 Dec 1997 13:03:54 +0000 (13:03 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Thu, 18 Dec 1997 13:03:54 +0000 (13:03 +0000)
commit4f4da4e99bbb2464aa37b00ba12f734b7c86db06
tree4e24dd44f3d33dc37995b897ef2695ed71eda672
parent80aab652d43c4bfd855ff6340c2058fabf5b0970
c++: Don't inject friends while processing templates

* pt.c (instantiate_class_template): Don't do injection when
  processing_template_decl is true, as pollutes current_binding_level
        for base classes.
PR g++/13911/14438

From-SVN: r17128
gcc/cp/ChangeLog
gcc/cp/pt.c
This page took 0.059311 seconds and 5 git commands to generate.