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
74bd77a8
Commit
74bd77a8
authored
Jul 16, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
entered into RCS
From-SVN: r1594
parent
8d7bbe5f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
7 deletions
+19
-7
gcc/function.c
+19
-7
No files found.
gcc/function.c
View file @
74bd77a8
...
@@ -2804,14 +2804,8 @@ assign_parms (fndecl, second_time)
...
@@ -2804,14 +2804,8 @@ assign_parms (fndecl, second_time)
}
}
DECL_RTL
(
parm
)
=
stack_parm
;
DECL_RTL
(
parm
)
=
stack_parm
;
}
}
else
if
(
!
(
else
if
(
!
((
obey_regdecls
&&
!
DECL_REGISTER
(
parm
)
#if 0 /* This change was turned off because it makes compilation bigger. */
!optimize
#else
/* It's not clear why the following was replaced. */
/* Obsoleted by preceding line. */
(
obey_regdecls
&&
!
DECL_REGISTER
(
parm
)
&&
!
DECL_INLINE
(
fndecl
))
&&
!
DECL_INLINE
(
fndecl
))
#endif
/* layout_decl may set this. */
/* layout_decl may set this. */
||
TREE_ADDRESSABLE
(
parm
)
||
TREE_ADDRESSABLE
(
parm
)
||
TREE_SIDE_EFFECTS
(
parm
)
||
TREE_SIDE_EFFECTS
(
parm
)
...
@@ -2858,6 +2852,24 @@ assign_parms (fndecl, second_time)
...
@@ -2858,6 +2852,24 @@ assign_parms (fndecl, second_time)
else
else
emit_move_insn
(
parmreg
,
validize_mem
(
entry_parm
));
emit_move_insn
(
parmreg
,
validize_mem
(
entry_parm
));
/* If we were passed a pointer but the actual value
can safely live in a register, put it in one. */
if
(
passed_pointer
&&
nominal_mode
!=
BLKmode
&&
!
((
obey_regdecls
&&
!
DECL_REGISTER
(
parm
)
&&
!
DECL_INLINE
(
fndecl
))
/* layout_decl may set this. */
||
TREE_ADDRESSABLE
(
parm
)
||
TREE_SIDE_EFFECTS
(
parm
)
/* If -ffloat-store specified, don't put explicit
float variables into registers. */
||
(
flag_float_store
&&
TREE_CODE
(
TREE_TYPE
(
parm
))
==
REAL_TYPE
)))
{
parmreg
=
gen_reg_rtx
(
nominal_mode
);
emit_move_insn
(
parmreg
,
DECL_RTL
(
parm
));
DECL_RTL
(
parm
)
=
parmreg
;
}
/* In any case, record the parm's desired stack location
/* In any case, record the parm's desired stack location
in case we later discover it must live in the stack. */
in case we later discover it must live in the stack. */
if
(
REGNO
(
parmreg
)
>=
nparmregs
)
if
(
REGNO
(
parmreg
)
>=
nparmregs
)
...
...
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