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
3c013dd5
Commit
3c013dd5
authored
Apr 27, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(valid_machine_attribute): Update last change.
From-SVN: r9504
parent
c276186e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
gcc/tree.c
+4
-4
No files found.
gcc/tree.c
View file @
3c013dd5
...
...
@@ -2944,9 +2944,9 @@ valid_machine_attribute (attr_name, attr_args, decl, type)
if
(
decl
!=
0
&&
VALID_MACHINE_DECL_ATTRIBUTE
(
decl
,
decl_attr_list
,
attr_name
))
{
if
(
!
attribute_in_list
(
new_attr
,
decl_attr_list
))
if
(
!
attribute_in_list
(
attr_name
,
decl_attr_list
))
{
decl_attr_list
=
tree_cons
(
NULL_TREE
,
new_attr
,
decl_attr_list
);
decl_attr_list
=
tree_cons
(
NULL_TREE
,
attr_name
,
decl_attr_list
);
/* Declarations are unique, build_decl_attribute_variant modifies
the existing decl in situ. */
...
...
@@ -2960,9 +2960,9 @@ valid_machine_attribute (attr_name, attr_args, decl, type)
#ifdef VALID_MACHINE_TYPE_ATTRIBUTE
if
(
VALID_MACHINE_TYPE_ATTRIBUTE
(
type
,
type_attr_list
,
attr_name
))
{
if
(
!
attribute_in_list
(
new_attr
,
type_attr_list
))
if
(
!
attribute_in_list
(
attr_name
,
type_attr_list
))
{
type_attr_list
=
tree_cons
(
NULL_TREE
,
new_attr
,
type_attr_list
);
type_attr_list
=
tree_cons
(
NULL_TREE
,
attr_name
,
type_attr_list
);
type
=
build_type_attribute_variant
(
type
,
type_attr_list
);
}
if
(
decl
!=
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