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
ca3e4a2f
Commit
ca3e4a2f
authored
Oct 18, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(find_reloads_address): Redo last change: copy the mem
in the same way it's usually done. From-SVN: r2503
parent
4006fe4f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
+7
-1
gcc/reload.c
+7
-1
No files found.
gcc/reload.c
View file @
ca3e4a2f
...
...
@@ -3633,7 +3633,13 @@ find_reloads_address (mode, memrefloc, ad, loc, operand, ind_levels)
/* If tem was changed, then we must create a new memory reference to
hold it and store it back into memrefloc. */
if
(
tem
!=
ad
&&
memrefloc
)
*
memrefloc
=
gen_rtx
(
MEM
,
GET_MODE
(
*
memrefloc
),
tem
);
{
rtx
oldref
=
*
memrefloc
;
*
memrefloc
=
copy_rtx
(
*
memrefloc
);
loc
=
&
XEXP
(
*
memrefloc
,
0
);
if
(
operand
==
oldref
)
operand
=
*
memrefloc
;
}
/* Check similar cases as for indirect addresses as above except
that we can allow pseudos and a MEM since they should have been
...
...
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