]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
authorJason Merrill <jason@gcc.gnu.org>
Sat, 18 Jul 1998 11:05:41 +0000 (07:05 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Sat, 18 Jul 1998 11:05:41 +0000 (07:05 -0400)
From-SVN: r21269

gcc/cp/class.c

index cc53671663044e93b67c786e11e4eeb781def06b..1c98b3b4e4d4be665819d373da65bb5462ef7bd6 100644 (file)
@@ -1381,6 +1381,10 @@ handle_using_decl (using_decl, t, method_vec, fields)
                     OVL_CURRENT (TREE_VEC_ELT (method_vec, i)));
        return;
       }
+
+  if (! DECL_LANG_SPECIFIC (fdecl))
+    /* We don't currently handle DECL_ACCESS for TYPE_DECLs; just return.  */
+    return;
   
   for (tmp = fields; tmp; tmp = TREE_CHAIN (tmp))
     if (DECL_NAME (tmp) == name)