aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-common.c
diff options
context:
space:
mode:
authorDoug Evans <dje@gnu.org>1995-04-28 01:09:12 +0000
committerDoug Evans <dje@gnu.org>1995-04-28 01:09:12 +0000
commit6eaba4a70ab626984e95bc390e343fb4f387b281 (patch)
tree6f9d1f31619b7962c8d81e91039d41e65491930d /gcc/c-common.c
parentb8b7ac24e3892e13e7bb7738c7d06d4ca9def6a9 (diff)
downloadgcc-6eaba4a70ab626984e95bc390e343fb4f387b281.zip
gcc-6eaba4a70ab626984e95bc390e343fb4f387b281.tar.gz
gcc-6eaba4a70ab626984e95bc390e343fb4f387b281.tar.bz2
(decl_attributes): Always continue if attribute not found.
From-SVN: r9522
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r--gcc/c-common.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c
index 474586e..4c4e317 100644
--- a/gcc/c-common.c
+++ b/gcc/c-common.c
@@ -300,11 +300,11 @@ decl_attributes (node, attributes, prefix_attributes)
if (attrtab[i].name == name)
break;
- if (i == attrtab_idx
- && ! valid_machine_attribute (name, args, decl, type))
+ if (i == attrtab_idx)
{
- warning ("`%s' attribute directive ignored",
- IDENTIFIER_POINTER (name));
+ if (! valid_machine_attribute (name, args, decl, type))
+ warning ("`%s' attribute directive ignored",
+ IDENTIFIER_POINTER (name));
continue;
}
else if (attrtab[i].decl_req && decl == 0)