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
59f25cf9
Commit
59f25cf9
authored
Jul 12, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(find_reloads): Don't try to call force_const_mem on a HIGH.
From-SVN: r7750
parent
90bf8081
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
gcc/reload.c
+4
-0
No files found.
gcc/reload.c
View file @
59f25cf9
...
...
@@ -2954,6 +2954,8 @@ find_reloads (insn, replace, ind_levels, live_known, reload_reg_p)
precisely the same as in the code below that calls
force_const_mem. */
if
(
CONSTANT_P
(
operand
)
/* force_const_mem does not accept HIGH. */
&&
GET_CODE
(
operand
)
!=
HIGH
&&
(
PREFERRED_RELOAD_CLASS
(
operand
,
(
enum
reg_class
)
this_alternative
[
i
])
==
NO_REGS
)
...
...
@@ -3294,6 +3296,8 @@ find_reloads (insn, replace, ind_levels, live_known, reload_reg_p)
for
(
i
=
0
;
i
<
noperands
;
i
++
)
if
(
!
goal_alternative_win
[
i
]
&&
CONSTANT_P
(
recog_operand
[
i
])
/* force_const_mem does not accept HIGH. */
&&
GET_CODE
(
recog_operand
[
i
])
!=
HIGH
&&
(
PREFERRED_RELOAD_CLASS
(
recog_operand
[
i
],
(
enum
reg_class
)
goal_alternative
[
i
])
==
NO_REGS
)
...
...
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