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
ddb7361a
Commit
ddb7361a
authored
Sep 29, 1996
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(assign_parms): Use mark_user_reg.
From-SVN: r12870
parent
754fdcca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gcc/function.c
+2
-2
No files found.
gcc/function.c
View file @
ddb7361a
...
...
@@ -3751,7 +3751,7 @@ assign_parms (fndecl, second_time)
=
promote_mode
(
TREE_TYPE
(
parm
),
nominal_mode
,
&
unsignedp
,
0
);
parmreg
=
gen_reg_rtx
(
promoted_nominal_mode
);
REG_USERVAR_P
(
parmreg
)
=
1
;
mark_user_reg
(
parmreg
)
;
/* If this was an item that we received a pointer to, set DECL_RTL
appropriately. */
...
...
@@ -3819,7 +3819,7 @@ assign_parms (fndecl, second_time)
/* We can't use nominal_mode, because it will have been set to
Pmode above. We must use the actual mode of the parm. */
parmreg
=
gen_reg_rtx
(
TYPE_MODE
(
TREE_TYPE
(
parm
)));
REG_USERVAR_P
(
parmreg
)
=
1
;
mark_user_reg
(
parmreg
)
;
emit_move_insn
(
parmreg
,
DECL_RTL
(
parm
));
DECL_RTL
(
parm
)
=
parmreg
;
/* STACK_PARM is the pointer, not the parm, and PARMREG is
...
...
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