Fix merging error with formerly cygnus local change.
authorJim Wilson <wilson@cygnus.com>
Mon, 15 Jun 1998 13:22:59 +0000 (13:22 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Mon, 15 Jun 1998 13:22:59 +0000 (06:22 -0700)
* c-decl.c (shadow_tag_warned): Use specs not declspecs in for loop.

From-SVN: r20511

gcc/ChangeLog
gcc/c-decl.c

index 85123c46f3a37c21d1b84a38529c15415a907ed9..adf9960e6a8fc2a9f4f54ae4d3f72696f4c69b8d 100644 (file)
@@ -1,3 +1,7 @@
+Mon Jun 15 13:20:33 1998  Jim Wilson  <wilson@cygnus.com>
+
+       * c-decl.c (shadow_tag_warned): Use specs not declspecs in for loop.
+
 Mon Jun 15 15:33:45 1998  Michael Meissner  <meissner@cygnus.com>
 
        * regmove.c: Undo June 11th change for now.
index 0f5d21cba5470e57121889d10933027318b80d25..4fadf3b12a788f135846d7401faaf6ceec41b0e5 100644 (file)
@@ -3577,7 +3577,7 @@ shadow_tag_warned (declspecs, warned)
      following code.  */
   split_specs_attrs (declspecs, &specs, &attrs);
 
-  for (link = declspecs; link; link = TREE_CHAIN (link))
+  for (link = specs; link; link = TREE_CHAIN (link))
     {
       register tree value = TREE_VALUE (link);
       register enum tree_code code = TREE_CODE (value);