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
258d81a8
Commit
258d81a8
authored
Nov 18, 1992
by
Michael Meissner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure all fields in current_frame_info are initialized.
From-SVN: r2756
parent
77edb222
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletions
+12
-1
gcc/config/mips/mips.c
+12
-1
No files found.
gcc/config/mips/mips.c
View file @
258d81a8
...
@@ -3813,7 +3813,7 @@ compute_frame_size (size)
...
@@ -3813,7 +3813,7 @@ compute_frame_size (size)
function, so allocate some stack space to make it happy. */
function, so allocate some stack space to make it happy. */
if
(
args_size
==
0
&&
current_function_calls_alloca
)
if
(
args_size
==
0
&&
current_function_calls_alloca
)
args_size
=
4
*
UNITS_PER_WORD
;
args_size
=
4
*
UNITS_PER_WORD
;
total_size
=
var_size
+
args_size
+
extra_size
;
total_size
=
var_size
+
args_size
+
extra_size
;
...
@@ -3873,6 +3873,12 @@ compute_frame_size (size)
...
@@ -3873,6 +3873,12 @@ compute_frame_size (size)
current_frame_info
.
gp_sp_offset
=
offset
;
current_frame_info
.
gp_sp_offset
=
offset
;
current_frame_info
.
gp_save_offset
=
offset
-
total_size
;
current_frame_info
.
gp_save_offset
=
offset
-
total_size
;
}
}
else
{
current_frame_info
.
gp_sp_offset
=
0
;
current_frame_info
.
gp_save_offset
=
0
;
}
if
(
fmask
)
if
(
fmask
)
{
{
...
@@ -3880,6 +3886,11 @@ compute_frame_size (size)
...
@@ -3880,6 +3886,11 @@ compute_frame_size (size)
current_frame_info
.
fp_sp_offset
=
offset
;
current_frame_info
.
fp_sp_offset
=
offset
;
current_frame_info
.
fp_save_offset
=
offset
-
total_size
+
UNITS_PER_WORD
;
current_frame_info
.
fp_save_offset
=
offset
-
total_size
+
UNITS_PER_WORD
;
}
}
else
{
current_frame_info
.
fp_sp_offset
=
0
;
current_frame_info
.
fp_save_offset
=
0
;
}
/* Ok, we're done. */
/* Ok, we're done. */
return
total_size
;
return
total_size
;
...
...
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