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
002bdd6c
Commit
002bdd6c
authored
Aug 24, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(expand_call): Check for variable-sized return value in proper place.
From-SVN: r7974
parent
7063dcbe
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 @
002bdd6c
...
...
@@ -667,9 +667,6 @@ expand_call (exp, target, ignore)
{
struct_value_size
=
int_size_in_bytes
(
TREE_TYPE
(
exp
));
if
(
struct_value_size
<
0
)
abort
();
if
(
target
&&
GET_CODE
(
target
)
==
MEM
)
structure_value_addr
=
XEXP
(
target
,
0
);
else
...
...
@@ -680,6 +677,9 @@ expand_call (exp, target, ignore)
specified. If we were to allocate space on the stack here,
we would have no way of knowing when to free it. */
if
(
struct_value_size
<
0
)
abort
();
structure_value_addr
=
XEXP
(
assign_stack_temp
(
BLKmode
,
struct_value_size
,
1
),
0
);
target
=
0
;
...
...
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