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
7ffa4f13
Commit
7ffa4f13
authored
Feb 17, 1994
by
Doug Evans
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(attrib): Handle attribute ((section ("string"))).
From-SVN: r6581
parent
2ea998c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
gcc/c-parse.in
+10
-0
No files found.
gcc/c-parse.in
View file @
7ffa4f13
...
@@ -1110,6 +1110,16 @@ attrib
...
@@ -1110,6 +1110,16 @@ attrib
tree_cons
(
$
5
,
$
7
,
NULL_TREE
),
tree_cons
(
$
5
,
$
7
,
NULL_TREE
),
NULL_TREE
),
NULL_TREE
),
NULL_TREE
);
}
NULL_TREE
);
}
|
IDENTIFIER
'('
STRING
')'
{
/* If not "section (name)", then issue warning. */
if
(
strcmp
(
IDENTIFIER_POINTER
(
$
1
),
"section"
)
!=
0
)
{
warning
(
"`%s' attribute directive ignored"
,
IDENTIFIER_POINTER
(
$
1
));
$$
=
$
1
;
}
else
$$
=
tree_cons
(
$
1
,
$
3
,
NULL_TREE
);
}
;
;
/* Initializers. `init' is the entry point. */
/* Initializers. `init' is the entry point. */
...
...
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