Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
7665dfd4
Commit
7665dfd4
authored
Mar 09, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(start_function): Handle new parameter ATTRIBUTES.
From-SVN: r9147
parent
8fcf10c0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
gcc/c-decl.c
+6
-3
No files found.
gcc/c-decl.c
View file @
7665dfd4
...
...
@@ -5924,7 +5924,7 @@ build_enumerator (name, value)
}
/* 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.
...
...
@@ -5938,8 +5938,8 @@ build_enumerator (name, value)
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
;
...
...
@@ -5964,6 +5964,9 @@ start_function (declspecs, declarator, nested)
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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment