From d8fa98d54b3e6c681994c244d9b8b5469ff38f3e Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Mon, 14 Aug 1995 09:08:53 -0400 Subject: [PATCH] (vms_check_external): Update `pending_head' properly when the first list element is removed. From-SVN: r10237 --- gcc/config/vax/vax.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.30.2