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
779c643a
Commit
779c643a
authored
31 years ago
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(emit_library_call_value): Move is_const set after ifdef.
From-SVN: r6995
parent
e4493c04
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
gcc/calls.c
+3
-3
No files found.
gcc/calls.c
View file @
779c643a
...
...
@@ -2430,9 +2430,6 @@ emit_library_call_value VPROTO((rtx orgfun, rtx value, int no_queue,
decide where in memory it should come back. */
if
(
aggregate_value_p
(
type_for_mode
(
outmode
,
0
)))
{
/* This call returns a big structure. */
is_const
=
0
;
#ifdef PCC_STATIC_STRUCT_RETURN
rtx
pointer_reg
=
hard_function_value
(
build_pointer_type
(
type_for_mode
(
outmode
,
0
)),
...
...
@@ -2448,6 +2445,9 @@ emit_library_call_value VPROTO((rtx orgfun, rtx value, int no_queue,
else
mem_value
=
assign_stack_temp
(
outmode
,
GET_MODE_SIZE
(
outmode
),
0
);
#endif
/* This call returns a big structure. */
is_const
=
0
;
}
/* ??? Unfinished: must pass the memory address as an argument. */
...
...
This diff is collapsed.
Click to expand it.
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