summaryrefslogtreecommitdiff
path: root/gnu/egcs/gcc/varasm.c
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>1999-07-18 16:38:59 +0000
committerMarc Espie <espie@cvs.openbsd.org>1999-07-18 16:38:59 +0000
commit6cd1705862866b49116ca4c1e1c724064c1a0dbe (patch)
tree0d30a4844b89bff3fb6d4af2931b6b91793144b1 /gnu/egcs/gcc/varasm.c
parent3ea7d6f69d05ad249133b00a14f4e681262ce71c (diff)
Update to 990629 snapshot
closer to gcc 2.95 release.
Diffstat (limited to 'gnu/egcs/gcc/varasm.c')
-rw-r--r--gnu/egcs/gcc/varasm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/egcs/gcc/varasm.c b/gnu/egcs/gcc/varasm.c
index 76f40587943..f463d847d4a 100644
--- a/gnu/egcs/gcc/varasm.c
+++ b/gnu/egcs/gcc/varasm.c
@@ -4388,7 +4388,7 @@ remove_from_pending_weak_list (name)
struct weak_syms *t;
for (t = weak_decls; t; t = t->next)
{
- if (strcmp (name, t->name) == 0)
+ if (t->name && strcmp (name, t->name) == 0)
t->name = NULL;
}
}