}
\f
/* Create the FUNCTION_DECL for a function definition.
- DECLSPECS and DECLARATOR are the parts of the declaration;
+ DECLSPECS, DECLARATOR, and ATTRIBUTES are the parts of the declaration;
they describe the function's name and the type it returns,
but twisted together in a fashion that parallels the syntax of C.
NESTED is nonzero for a function nested within another function. */
int
-start_function (declspecs, declarator, nested)
- tree declarator, declspecs;
+start_function (declspecs, declarator, attributes, nested)
+ tree declarator, declspecs, attributes;
int nested;
{
tree decl1, old_decl;
if (decl1 == 0)
return 0;
+ if (attributes)
+ decl_attributes (decl1, NULL_TREE, attributes);
+
announce_function (decl1);
if (TYPE_SIZE (TREE_TYPE (TREE_TYPE (decl1))) == 0)