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
4fc3dcd5
Commit
4fc3dcd5
authored
Dec 02, 1993
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(emit_library_call): Use Pmode, not OUTMODE, when passing in structure
address. From-SVN: r6178
parent
0f20ebd1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
gcc/calls.c
+5
-5
No files found.
gcc/calls.c
View file @
4fc3dcd5
...
...
@@ -2426,16 +2426,16 @@ emit_library_call_value (va_alist)
addr
=
force_operand
(
addr
,
NULL_RTX
);
argvec
[
count
].
value
=
addr
;
argvec
[
count
].
mode
=
out
mode
;
argvec
[
count
].
mode
=
P
mode
;
argvec
[
count
].
partial
=
0
;
argvec
[
count
].
reg
=
FUNCTION_ARG
(
args_so_far
,
out
mode
,
NULL_TREE
,
1
);
argvec
[
count
].
reg
=
FUNCTION_ARG
(
args_so_far
,
P
mode
,
NULL_TREE
,
1
);
#ifdef FUNCTION_ARG_PARTIAL_NREGS
if
(
FUNCTION_ARG_PARTIAL_NREGS
(
args_so_far
,
out
mode
,
NULL_TREE
,
1
))
if
(
FUNCTION_ARG_PARTIAL_NREGS
(
args_so_far
,
P
mode
,
NULL_TREE
,
1
))
abort
();
#endif
locate_and_pad_parm
(
out
mode
,
NULL_TREE
,
locate_and_pad_parm
(
P
mode
,
NULL_TREE
,
argvec
[
count
].
reg
&&
argvec
[
count
].
partial
==
0
,
NULL_TREE
,
&
args_size
,
&
argvec
[
count
].
offset
,
&
argvec
[
count
].
size
);
...
...
@@ -2448,7 +2448,7 @@ emit_library_call_value (va_alist)
)
args_size
.
constant
+=
argvec
[
count
].
size
.
constant
;
FUNCTION_ARG_ADVANCE
(
args_so_far
,
out
mode
,
(
tree
)
0
,
1
);
FUNCTION_ARG_ADVANCE
(
args_so_far
,
P
mode
,
(
tree
)
0
,
1
);
count
++
;
}
...
...
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