OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a11137
)
h
author
law
<law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 9 Jun 1999 12:12:17 +0000
(12:12 +0000)
committer
law
<law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 9 Jun 1999 12:12:17 +0000
(12:12 +0000)
* varasm.c (remove_from_pending_weak_list): Verity t->name
is non-NULL before passing it to strcmp.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27450
138bc75d
-0d04-0410-961f-
82ee72b054a4
gcc/varasm.c
patch
|
blob
|
history
diff --git
a/gcc/varasm.c
b/gcc/varasm.c
index
76f4058
..
f463d84
100644
(file)
--- a/
gcc/varasm.c
+++ b/
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;
}
}