Fix merging error with formerly cygnus local change.

* c-decl.c (shadow_tag_warned): Use specs not declspecs in for loop.

From-SVN: r20511
This commit is contained in:
Jim Wilson 1998-06-15 13:22:59 +00:00 committed by Jim Wilson
parent a7db2896a5
commit 3bd89472d1
2 changed files with 5 additions and 1 deletions

View 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.

View 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);