From: Richard Kenner Date: Mon, 14 Aug 1995 13:08:53 +0000 (-0400) Subject: (vms_check_external): Update `pending_head' properly when the first X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d8fa98d54b3e6c681994c244d9b8b5469ff38f3e;p=gcc.git (vms_check_external): Update `pending_head' properly when the first list element is removed. From-SVN: r10237 --- diff --git a/gcc/config/vax/vax.c b/gcc/config/vax/vax.c index c3cf4436ea8..e0500e2ba7a 100644 --- a/gcc/config/vax/vax.c +++ b/gcc/config/vax/vax.c @@ -1,5 +1,5 @@ /* Subroutines for insn-output.c for Vax. - Copyright (C) 1987, 1994 Free Software Foundation, Inc. + Copyright (C) 1987, 1994, 1995 Free Software Foundation, Inc. This file is part of GNU CC. @@ -685,9 +685,9 @@ vms_check_external (decl, name, pending) if (pending) return; - /* Was pending, but may now be defined; move it to other list. */ + /* Was pending, but has now been defined; move it to other list. */ if (p == pending_head) - pending_head = 0; + pending_head = p->next; else p0->next = p->next; p->next = extern_head;