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
d030f4b2
Commit
d030f4b2
authored
May 20, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(push_reload): Don't reload inside a SUBREG when SUBREG_WORD is
nonzero. From-SVN: r9757
parent
c102bba0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
gcc/reload.c
+5
-3
No files found.
gcc/reload.c
View file @
d030f4b2
...
...
@@ -798,9 +798,11 @@ push_reload (in, out, inloc, outloc, class,
Finally, reload the inner expression if it is a register that is in
the class whose registers cannot be referenced in a different size
and M1 is not the same size as M2. */
and M1 is not the same size as M2. If SUBREG_WORD is nonzero, we
cannot reload just the inside since we might end up with the wrong
register class. */
if
(
in
!=
0
&&
GET_CODE
(
in
)
==
SUBREG
if
(
in
!=
0
&&
GET_CODE
(
in
)
==
SUBREG
&&
SUBREG_WORD
(
in
)
==
0
#ifdef CLASS_CANNOT_CHANGE_SIZE
&&
class
!=
CLASS_CANNOT_CHANGE_SIZE
#endif
...
...
@@ -898,7 +900,7 @@ push_reload (in, out, inloc, outloc, class,
storing in a subreg is entitled to clobber it all
(except in the case of STRICT_LOW_PART,
and in that case the constraint should label it input-output.) */
if
(
out
!=
0
&&
GET_CODE
(
out
)
==
SUBREG
if
(
out
!=
0
&&
GET_CODE
(
out
)
==
SUBREG
&&
SUBREG_WORD
(
out
)
==
0
#ifdef CLASS_CANNOT_CHANGE_SIZE
&&
class
!=
CLASS_CANNOT_CHANGE_SIZE
#endif
...
...
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