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
e71f7aa5
Commit
e71f7aa5
authored
Jul 08, 1996
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(aggregate_value_p): If hard_function_value returns
a non-REG, then return 0. From-SVN: r12413
parent
320aba9c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
gcc/function.c
+6
-0
No files found.
gcc/function.c
View file @
e71f7aa5
...
@@ -3222,6 +3222,12 @@ aggregate_value_p (exp)
...
@@ -3222,6 +3222,12 @@ aggregate_value_p (exp)
/* Make sure we have suitable call-clobbered regs to return
/* Make sure we have suitable call-clobbered regs to return
the value in; if not, we must return it in memory. */
the value in; if not, we must return it in memory. */
reg
=
hard_function_value
(
type
,
0
);
reg
=
hard_function_value
(
type
,
0
);
/* If we have something other than a REG (e.g. a PARALLEL), then assume
it is OK. */
if
(
GET_CODE
(
reg
)
!=
REG
)
return
0
;
regno
=
REGNO
(
reg
);
regno
=
REGNO
(
reg
);
nregs
=
HARD_REGNO_NREGS
(
regno
,
TYPE_MODE
(
type
));
nregs
=
HARD_REGNO_NREGS
(
regno
,
TYPE_MODE
(
type
));
for
(
i
=
0
;
i
<
nregs
;
i
++
)
for
(
i
=
0
;
i
<
nregs
;
i
++
)
...
...
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