summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2000-03-07 08:39:13 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2000-03-07 08:39:13 +0000
commit3d74e324c1c9aae7de110be03f9863d6955e7a0a (patch)
treeb15e6119e38494a6116fa1f22ef783bf1157389f
parente82b6171dd6e772c84dc2354a25c2b55d2f22856 (diff)
downloadppe42-gcc-3d74e324c1c9aae7de110be03f9863d6955e7a0a.tar.gz
ppe42-gcc-3d74e324c1c9aae7de110be03f9863d6955e7a0a.zip
oops
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32379 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/varasm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c
index baf06e0548e..a3d43173f6d 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -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;
OpenPOWER on IntegriCloud