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
5582b006
Commit
5582b006
authored
Aug 11, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(expand_call): Ensure we call force_operand on structure_value_addr.
From-SVN: r7885
parent
89e7a14a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
gcc/calls.c
+10
-7
No files found.
gcc/calls.c
View file @
5582b006
...
@@ -901,15 +901,18 @@ expand_call (exp, target, ignore)
...
@@ -901,15 +901,18 @@ expand_call (exp, target, ignore)
as if it were an extra parameter. */
as if it were an extra parameter. */
if
(
structure_value_addr
&&
struct_value_rtx
==
0
)
if
(
structure_value_addr
&&
struct_value_rtx
==
0
)
{
{
/* If structure_value_addr is a REG other than
virtual_outgoing_args_rtx, we can use always use it. If it
is not a REG, we must always copy it into a register.
If it is virtual_outgoing_args_rtx, we must copy it to another
register in some cases. */
rtx
temp
=
(
GET_CODE
(
structure_value_addr
)
!=
REG
#ifdef ACCUMULATE_OUTGOING_ARGS
#ifdef ACCUMULATE_OUTGOING_ARGS
/* If the stack will be adjusted, make sure the structure address
||
(
stack_arg_under_construction
does not refer to virtual_outgoing_args_rtx. */
&&
structure_value_addr
==
virtual_outgoing_args_rtx
)
rtx
temp
=
(
stack_arg_under_construction
?
copy_addr_to_reg
(
structure_value_addr
)
:
force_reg
(
Pmode
,
structure_value_addr
));
#else
rtx
temp
=
force_reg
(
Pmode
,
structure_value_addr
);
#endif
#endif
?
copy_addr_to_reg
(
structure_value_addr
)
:
structure_value_addr
);
actparms
actparms
=
tree_cons
(
error_mark_node
,
=
tree_cons
(
error_mark_node
,
...
...
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