From 6eaba4a70ab626984e95bc390e343fb4f387b281 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Fri, 28 Apr 1995 01:09:12 +0000 Subject: [PATCH] (decl_attributes): Always continue if attribute not found. From-SVN: r9522 --- gcc/c-common.c | 8 ++++---- 1 file 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) -- 2.7.4