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
38b610ed
Commit
38b610ed
authored
Mar 18, 1997
by
Ian Lance Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a REG_EQUIV note when a register parameter has a stack location
From-SVN: r13734
parent
63d93f7c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
gcc/function.c
+4
-4
No files found.
gcc/function.c
View file @
38b610ed
...
@@ -3957,11 +3957,11 @@ assign_parms (fndecl, second_time)
...
@@ -3957,11 +3957,11 @@ assign_parms (fndecl, second_time)
as we make here would screw up life analysis for it. */
as we make here would screw up life analysis for it. */
if
(
nominal_mode
==
passed_mode
if
(
nominal_mode
==
passed_mode
&&
!
did_conversion
&&
!
did_conversion
&&
GET_CODE
(
entry_parm
)
==
MEM
&&
stack_parm
!=
0
&&
entry_parm
==
stack_parm
&&
GET_CODE
(
stack_parm
)
==
MEM
&&
stack_offset
.
var
==
0
&&
stack_offset
.
var
==
0
&&
reg_mentioned_p
(
virtual_incoming_args_rtx
,
&&
reg_mentioned_p
(
virtual_incoming_args_rtx
,
XEXP
(
entry
_parm
,
0
)))
XEXP
(
stack
_parm
,
0
)))
{
{
rtx
linsn
=
get_last_insn
();
rtx
linsn
=
get_last_insn
();
rtx
sinsn
,
set
;
rtx
sinsn
,
set
;
...
@@ -3991,7 +3991,7 @@ assign_parms (fndecl, second_time)
...
@@ -3991,7 +3991,7 @@ assign_parms (fndecl, second_time)
&&
SET_DEST
(
set
)
==
parmreg
)
&&
SET_DEST
(
set
)
==
parmreg
)
REG_NOTES
(
linsn
)
REG_NOTES
(
linsn
)
=
gen_rtx
(
EXPR_LIST
,
REG_EQUIV
,
=
gen_rtx
(
EXPR_LIST
,
REG_EQUIV
,
entry
_parm
,
REG_NOTES
(
linsn
));
stack
_parm
,
REG_NOTES
(
linsn
));
}
}
/* For pointer data type, suggest pointer register. */
/* For pointer data type, suggest pointer register. */
...
...
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