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
3b94d087
Commit
3b94d087
authored
Dec 27, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(expand_expr, constructor case): If we made a stack slot,
set MEM_IN_STRUCT_P if the type warrants it. From-SVN: r2921
parent
f5df292e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
gcc/expr.c
+5
-4
No files found.
gcc/expr.c
View file @
3b94d087
...
...
@@ -3621,10 +3621,11 @@ expand_expr (exp, target, tmode, modifier)
target
=
gen_reg_rtx
(
mode
);
else
{
rtx
safe_target
=
assign_stack_temp
(
mode
,
int_size_in_bytes
(
type
),
0
);
if
(
target
)
MEM_IN_STRUCT_P
(
safe_target
)
=
MEM_IN_STRUCT_P
(
target
);
target
=
safe_target
;
enum
tree_code
c
=
TREE_CODE
(
type
);
target
=
assign_stack_temp
(
mode
,
int_size_in_bytes
(
type
),
0
);
if
(
c
==
RECORD_TYPE
||
c
==
UNION_TYPE
||
c
==
ARRAY_TYPE
)
MEM_IN_STRUCT_P
(
target
)
=
1
;
}
}
store_constructor
(
exp
,
target
);
...
...
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