aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
authorJim Wilson <wilson@cygnus.com>1998-06-15 13:22:59 +0000
committerJim Wilson <wilson@gcc.gnu.org>1998-06-15 06:22:59 -0700
commit3bd89472d1a70eb0d5fc70d36c124293d7eb5599 (patch)
tree9c6d56154cb2b5c1c7d212be2d0e2865d8307d6f /gcc/c-decl.c
parenta7db2896a59c9056ff3aa1dfd435a9e2b2858ae0 (diff)
downloadgcc-3bd89472d1a70eb0d5fc70d36c124293d7eb5599.zip
gcc-3bd89472d1a70eb0d5fc70d36c124293d7eb5599.tar.gz
gcc-3bd89472d1a70eb0d5fc70d36c124293d7eb5599.tar.bz2
Fix merging error with formerly cygnus local change.
* c-decl.c (shadow_tag_warned): Use specs not declspecs in for loop. From-SVN: r20511
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r--gcc/c-decl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index 0f5d21c..4fadf3b 100644
--- a/gcc/c-decl.c
+++ b/gcc/c-decl.c
@@ -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);