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
7e41ffa2
Commit
7e41ffa2
authored
Sep 19, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(assign_parms): Set MEM_IN_STRUCT_P right in stack slots.
From-SVN: r2157
parent
73bdfabc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
4 deletions
+17
-4
gcc/function.c
+17
-4
No files found.
gcc/function.c
View file @
7e41ffa2
...
@@ -2859,8 +2859,14 @@ assign_parms (fndecl, second_time)
...
@@ -2859,8 +2859,14 @@ assign_parms (fndecl, second_time)
if it becomes a problem. */
if it becomes a problem. */
if
(
stack_parm
==
0
)
if
(
stack_parm
==
0
)
stack_parm
{
=
assign_stack_local
(
GET_MODE
(
entry_parm
),
size_stored
,
0
);
stack_parm
=
assign_stack_local
(
GET_MODE
(
entry_parm
),
size_stored
,
0
);
/* If this is a memory ref that contains aggregate components,
mark it as such for cse and loop optimize. */
MEM_IN_STRUCT_P
(
stack_parm
)
=
aggregate
;
}
else
if
(
PARM_BOUNDARY
%
BITS_PER_WORD
!=
0
)
else
if
(
PARM_BOUNDARY
%
BITS_PER_WORD
!=
0
)
abort
();
abort
();
...
@@ -2989,8 +2995,15 @@ assign_parms (fndecl, second_time)
...
@@ -2989,8 +2995,15 @@ assign_parms (fndecl, second_time)
if
(
entry_parm
!=
stack_parm
)
if
(
entry_parm
!=
stack_parm
)
{
{
if
(
stack_parm
==
0
)
if
(
stack_parm
==
0
)
stack_parm
=
assign_stack_local
(
GET_MODE
(
entry_parm
),
{
GET_MODE_SIZE
(
GET_MODE
(
entry_parm
)),
0
);
stack_parm
=
assign_stack_local
(
GET_MODE
(
entry_parm
),
GET_MODE_SIZE
(
GET_MODE
(
entry_parm
)),
0
);
/* If this is a memory ref that contains aggregate components,
mark it as such for cse and loop optimize. */
MEM_IN_STRUCT_P
(
stack_parm
)
=
aggregate
;
}
emit_move_insn
(
validize_mem
(
stack_parm
),
emit_move_insn
(
validize_mem
(
stack_parm
),
validize_mem
(
entry_parm
));
validize_mem
(
entry_parm
));
}
}
...
...
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