Commit 17c1a44f by Stan Cox

(decl_attributes): Chain multiple attributes correctly.

From-SVN: r11942
parent fc0c675f
......@@ -322,6 +322,8 @@ decl_attributes (node, attributes, prefix_attributes)
if (! valid_machine_attribute (name, args, decl, type))
warning ("`%s' attribute directive ignored",
IDENTIFIER_POINTER (name));
else if (decl != 0)
type = TREE_TYPE (decl);
continue;
}
else if (attrtab[i].decl_req && decl == 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment