OSDN Git Service

oops
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Mar 2000 08:39:13 +0000 (08:39 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Mar 2000 08:39:13 +0000 (08:39 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32379 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/varasm.c

index baf06e0..a3d4317 100644 (file)
@@ -771,7 +771,7 @@ make_decl_rtl (decl, asmspec, top_level)
             of a local class (which will already be unambiguous).
             Concatenate a distinguishing number.  */
          if (!top_level && !TREE_PUBLIC (decl)
-             && ! TYPE_P (DECL_CONTEXT (decl))
+             && ! (DECL_CONTEXT (decl) && TYPE_P (DECL_CONTEXT (decl)))
              && asmspec == 0)
            {
              char *label;