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
77fd6d10
Commit
77fd6d10
authored
Nov 01, 1999
by
Mark Mitchell
Committed by
Mark Mitchell
Nov 01, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
From-SVN: r30306
parent
e26ef527
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
gcc/ChangeLog
+4
-0
gcc/expr.c
+4
-3
No files found.
gcc/ChangeLog
View file @
77fd6d10
Sun
Oct
31
20
:
25
:
42
1999
Mark
P
.
Mitchell
<
mark
@codesourcery
.
com
>
*
expr
.
c
(
readonly_fields_p
)
:
Ignore
everything
except
FIELD_DECLs
.
Sun
Oct
31
20
:
42
:
17
1999
Kaveh
R
.
Ghazi
<
ghazi
@caip
.
rutgers
.
edu
>
*
hard
-
reg
-
set
.
h
(
reg_names
)
:
Constify
a
char
*
.
...
...
gcc/expr.c
View file @
77fd6d10
...
...
@@ -5573,9 +5573,10 @@ readonly_fields_p (type)
tree
field
;
for
(
field
=
TYPE_FIELDS
(
type
);
field
!=
0
;
field
=
TREE_CHAIN
(
field
))
if
(
TREE_READONLY
(
field
)
||
(
TREE_CODE
(
TREE_TYPE
(
field
))
==
RECORD_TYPE
&&
readonly_fields_p
(
TREE_TYPE
(
field
))))
if
(
TREE_CODE
(
field
)
==
FIELD_DECL
&&
(
TREE_READONLY
(
field
)
||
(
TREE_CODE
(
TREE_TYPE
(
field
))
==
RECORD_TYPE
&&
readonly_fields_p
(
TREE_TYPE
(
field
)))))
return
1
;
return
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