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
accdfaab
Commit
accdfaab
authored
Dec 28, 1992
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(build_indirect_ref): See volatility from flag_volatile.
From-SVN: r2974
parent
f94cc92f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
gcc/c-typeck.c
+3
-2
No files found.
gcc/c-typeck.c
View file @
accdfaab
...
@@ -1121,8 +1121,9 @@ build_indirect_ref (ptr, errorstring)
...
@@ -1121,8 +1121,9 @@ build_indirect_ref (ptr, errorstring)
/* A de-reference of a pointer to const is not a const. It is valid
/* A de-reference of a pointer to const is not a const. It is valid
to change it via some other pointer. */
to change it via some other pointer. */
TREE_READONLY
(
ref
)
=
TYPE_READONLY
(
t
);
TREE_READONLY
(
ref
)
=
TYPE_READONLY
(
t
);
TREE_SIDE_EFFECTS
(
ref
)
=
TYPE_VOLATILE
(
t
)
||
TREE_SIDE_EFFECTS
(
pointer
);
TREE_SIDE_EFFECTS
(
ref
)
TREE_THIS_VOLATILE
(
ref
)
=
TYPE_VOLATILE
(
t
);
=
TYPE_VOLATILE
(
t
)
||
TREE_SIDE_EFFECTS
(
pointer
)
||
flag_volatile
;
TREE_THIS_VOLATILE
(
ref
)
=
TYPE_VOLATILE
(
t
)
||
flag_volatile
;
return
ref
;
return
ref
;
}
}
else
if
(
TREE_CODE
(
pointer
)
!=
ERROR_MARK
)
else
if
(
TREE_CODE
(
pointer
)
!=
ERROR_MARK
)
...
...
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