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
f5a50010
Commit
f5a50010
authored
Feb 08, 2000
by
Richard Kenner
Committed by
Richard Kenner
Feb 08, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
From-SVN: r31856
parent
bad196d7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
gcc/ChangeLog
+4
-0
gcc/stmt.c
+1
-7
No files found.
gcc/ChangeLog
View file @
f5a50010
Tue
Feb
8
15
:
51
:
50
2000
Richard
Kenner
<
kenner
@vlsi1
.
ultra
.
nyu
.
edu
>
*
stmt
.
c
(
expand_decl
)
:
Do
set
RTX_UNCHANGING_P
for
TREE_READONLY
.
2000
-
02
-
08
Zack
Weinberg
<
zack
@wolery
.
cumb
.
org
>
*
Makefile
.
in
(
GEN_PROTOS_OBJS
)
:
Remove
libcpp
.
a
.
...
...
gcc/stmt.c
View file @
f5a50010
...
...
@@ -3868,15 +3868,9 @@ expand_decl (decl)
if
(
TREE_THIS_VOLATILE
(
decl
))
MEM_VOLATILE_P
(
DECL_RTL
(
decl
))
=
1
;
#if 0 /* A variable is not necessarily unchanging
just because it is const. RTX_UNCHANGING_P
means no change in the function,
not merely no change in the variable's scope.
It is correct to set RTX_UNCHANGING_P if the variable's scope
is the whole function. There's no convenient way to test that. */
if
(
TREE_READONLY
(
decl
))
RTX_UNCHANGING_P
(
DECL_RTL
(
decl
))
=
1
;
#endif
}
/* Emit code to perform the initialization of a declaration DECL. */
...
...
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