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
8d618585
Commit
8d618585
authored
Dec 16, 1992
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(get_secondary_mem): Don't save address if it isn't valid.
From-SVN: r2886
parent
c8c29f85
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
+6
-1
gcc/reload.c
+6
-1
No files found.
gcc/reload.c
View file @
8d618585
...
...
@@ -431,7 +431,12 @@ get_secondary_mem (x, mode)
if
(
!
mem_valid
)
find_reloads_address
(
mode
,
NULL_PTR
,
XEXP
(
loc
,
0
),
&
XEXP
(
loc
,
0
),
x
,
0
);
secondary_memlocs_elim
[(
int
)
mode
]
=
loc
;
/* If the address was not valid to begin with, we can not save it, because
there is no guarantee that the reloads needed to make it valid will
occur before every use of this address. */
else
secondary_memlocs_elim
[(
int
)
mode
]
=
loc
;
return
loc
;
}
...
...
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