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
49a2e5b2
Commit
49a2e5b2
authored
May 09, 1996
by
Doug Evans
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* function.c (aggregate_value_p): Return 1 if TREE_ADDRESSABLE.
From-SVN: r11957
parent
4dabb379
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
gcc/function.c
+4
-0
No files found.
gcc/function.c
View file @
49a2e5b2
...
@@ -3192,6 +3192,10 @@ aggregate_value_p (exp)
...
@@ -3192,6 +3192,10 @@ aggregate_value_p (exp)
if
(
RETURN_IN_MEMORY
(
type
))
if
(
RETURN_IN_MEMORY
(
type
))
return
1
;
return
1
;
/* Types that are TREE_ADDRESSABLE must be contructed in memory,
and thus can't be returned in registers. */
if
(
TREE_ADDRESSABLE
(
type
))
return
1
;
if
(
flag_pcc_struct_return
&&
AGGREGATE_TYPE_P
(
type
))
if
(
flag_pcc_struct_return
&&
AGGREGATE_TYPE_P
(
type
))
return
1
;
return
1
;
/* Make sure we have suitable call-clobbered regs to return
/* Make sure we have suitable call-clobbered regs to return
...
...
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