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
4f389214
Commit
4f389214
authored
Oct 08, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(emit_library_call_value): Compute struct_value_size,
and pass it to emit_call_1. From-SVN: r5689
parent
f0dbe372
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
gcc/calls.c
+4
-1
No files found.
gcc/calls.c
View file @
4f389214
...
...
@@ -2353,6 +2353,7 @@ emit_library_call_value (va_alist)
rtx
value
;
rtx
mem_value
=
0
;
int
pcc_struct_value
=
0
;
int
struct_value_size
=
0
;
/* library calls are never indirect calls. */
int
current_call_is_indirect
=
0
;
...
...
@@ -2376,6 +2377,7 @@ emit_library_call_value (va_alist)
if
(
value
==
0
)
value
=
gen_reg_rtx
(
outmode
);
#else
/* not PCC_STATIC_STRUCT_RETURN */
struct_value_size
=
GET_MODE_SIZE
(
outmode
);
if
(
value
!=
0
&&
GET_CODE
(
value
)
==
MEM
)
mem_value
=
value
;
else
...
...
@@ -2662,7 +2664,8 @@ emit_library_call_value (va_alist)
/* We pass the old value of inhibit_defer_pop + 1 to emit_call_1, which
will set inhibit_defer_pop to that value. */
emit_call_1
(
fun
,
get_identifier
(
XSTR
(
orgfun
,
0
)),
args_size
.
constant
,
0
,
emit_call_1
(
fun
,
get_identifier
(
XSTR
(
orgfun
,
0
)),
args_size
.
constant
,
struct_value_size
,
FUNCTION_ARG
(
args_so_far
,
VOIDmode
,
void_type_node
,
1
),
(
outmode
!=
VOIDmode
&&
mem_value
==
0
?
hard_libcall_value
(
outmode
)
:
NULL_RTX
),
...
...
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