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
843fec55
Commit
843fec55
authored
Oct 05, 1993
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(expand_call): Properly test if we need to promote operand; use
convert_modes instead of convert_to_mode. From-SVN: r5622
parent
df5f5124
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
gcc/calls.c
+5
-4
No files found.
gcc/calls.c
View file @
843fec55
...
...
@@ -1540,10 +1540,11 @@ expand_call (exp, target, ignore)
/* If we are to promote the function arg to a wider mode,
do it now. */
if
(
GET_MODE
(
args
[
i
].
value
)
!=
VOIDmode
&&
GET_MODE
(
args
[
i
].
value
)
!=
args
[
i
].
mode
)
args
[
i
].
value
=
convert_to_mode
(
args
[
i
].
mode
,
args
[
i
].
value
,
args
[
i
].
unsignedp
);
if
(
args
[
i
].
mode
!=
TYPE_MODE
(
TREE_TYPE
(
args
[
i
].
tree_value
)))
args
[
i
].
value
=
convert_modes
(
args
[
i
].
mode
,
TYPE_MODE
(
TREE_TYPE
(
args
[
i
].
tree_value
)),
args
[
i
].
value
,
args
[
i
].
unsignedp
);
}
#if defined(ACCUMULATE_OUTGOING_ARGS) && defined(REG_PARM_STACK_SPACE)
...
...
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