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
f8a89236
Commit
f8a89236
authored
30 years ago
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Formatting changes.
From-SVN: r9048
parent
3bda6d11
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
+4
-10
gcc/tree.c
+4
-10
No files found.
gcc/tree.c
View file @
f8a89236
...
...
@@ -2783,7 +2783,6 @@ build_block (vars, tags, subblocks, supercontext, chain)
BLOCK_CHAIN
(
block
)
=
chain
;
return
block
;
}
/* Return a declaration like DDECL except that its DECL_MACHINE_ATTRIBUTE
is ATTRIBUTE. */
...
...
@@ -2799,8 +2798,7 @@ build_decl_attribute_variant (ddecl, attribute)
/* Return a type like TTYPE except that its TYPE_ATTRIBUTE
is ATTRIBUTE.
Such modified types already made are recorded so that duplicates
are not made. */
Record such modified types already made so we don't make duplicates. */
tree
build_type_attribute_variant
(
ttype
,
attribute
)
...
...
@@ -2870,9 +2868,7 @@ valid_machine_attribute (new_attr, decl, type)
tree
type_attr_list
=
TYPE_ATTRIBUTES
(
type
);
#ifdef VALID_MACHINE_DECL_ATTRIBUTE
if
(
VALID_MACHINE_DECL_ATTRIBUTE
(
decl
,
decl_attr_list
,
new_attr
))
if
(
VALID_MACHINE_DECL_ATTRIBUTE
(
decl
,
decl_attr_list
,
new_attr
))
{
tree
attr_list
;
int
in_list
=
0
;
...
...
@@ -2892,9 +2888,7 @@ valid_machine_attribute (new_attr, decl, type)
#endif
#ifdef VALID_MACHINE_TYPE_ATTRIBUTE
if
(
VALID_MACHINE_TYPE_ATTRIBUTE
(
type
,
type_attr_list
,
new_attr
))
if
(
VALID_MACHINE_TYPE_ATTRIBUTE
(
type
,
type_attr_list
,
new_attr
))
{
tree
attr_list
;
int
in_list
=
0
;
...
...
@@ -2905,7 +2899,7 @@ valid_machine_attribute (new_attr, decl, type)
if
(
TREE_VALUE
(
attr_list
)
==
new_attr
)
in_list
=
1
;
if
(
!
in_list
)
if
(
!
in_list
)
type_attr_list
=
tree_cons
(
NULL_TREE
,
new_attr
,
type_attr_list
);
decl
=
build_type_attribute_variant
(
type
,
type_attr_list
);
...
...
This diff is collapsed.
Click to expand it.
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