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
91594e43
Commit
91594e43
authored
Sep 19, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(subst_constants): Do substitute in address of MEM dest.
From-SVN: r2162
parent
65701fd2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
+6
-1
gcc/integrate.c
+6
-1
No files found.
gcc/integrate.c
View file @
91594e43
...
...
@@ -2346,7 +2346,8 @@ subst_constants (loc, insn, map)
src
=
SET_SRC
(
x
);
while
(
GET_CODE
(
*
dest_loc
)
==
ZERO_EXTRACT
||
GET_CODE
(
*
dest_loc
)
==
SIGN_EXTRACT
/* By convention, we always use ZERO_EXTRACT in the dest. */
/* || GET_CODE (*dest_loc) == SIGN_EXTRACT */
||
GET_CODE
(
*
dest_loc
)
==
SUBREG
||
GET_CODE
(
*
dest_loc
)
==
STRICT_LOW_PART
)
{
...
...
@@ -2358,6 +2359,10 @@ subst_constants (loc, insn, map)
dest_loc
=
&
XEXP
(
*
dest_loc
,
0
);
}
/* Do substitute in the address of a destination in memory. */
if
(
GET_CODE
(
*
dest_loc
)
==
MEM
)
subst_constants
(
&
XEXP
(
*
dest_loc
,
0
),
insn
,
map
);
/* Check for the case of DEST a SUBREG, both it and the underlying
register are less than one word, and the SUBREG has the wider mode.
In the case, we are really setting the underlying register to the
...
...
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