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
4971426b
Commit
4971426b
authored
Jan 10, 2001
by
Alan Lehotsky
Committed by
Alan Lehotsky
Jan 09, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r38849
parent
fa44a936
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
gcc/ChangeLog
+5
-0
gcc/reload.c
+7
-3
No files found.
gcc/ChangeLog
View file @
4971426b
2001-01-09 Alan Lehotsky <lehotsky@tiac.net>
* reload.c (find_reloads_address): Check for eliminable registers
when substituting a constant expression for a pseudo.
2001-01-09 Joseph S. Myers <jsm28@cam.ac.uk>
* c-common.c (enum format_type): Add format_type_error.
...
...
gcc/reload.c
View file @
4971426b
...
...
@@ -4487,10 +4487,14 @@ find_reloads_address (mode, memrefloc, ad, loc, opnum, type, ind_levels, insn)
{
regno
=
REGNO
(
ad
);
if
(
reg_equiv_constant
[
regno
]
!=
0
&&
strict_memory_address_p
(
mode
,
reg_equiv_constant
[
regno
]))
/* If the register is equivalent to an invariant expression, substitute
the invariant, and eliminate any eliminable register references. */
tem
=
reg_equiv_constant
[
regno
];
if
(
tem
!=
0
&&
(
tem
=
eliminate_regs
(
tem
,
mode
,
insn
))
&&
strict_memory_address_p
(
mode
,
tem
))
{
*
loc
=
ad
=
reg_equiv_constant
[
regno
]
;
*
loc
=
ad
=
tem
;
return
0
;
}
...
...
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