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
0093e75b
Commit
0093e75b
authored
Jul 04, 1992
by
Tom Wood
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(m88k_end_prologue): Reset frame_laid_out here.
(m88k_expand_prologue): Not here. From-SVN: r1427
parent
e029fa05
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
17 deletions
+3
-17
gcc/config/m88k/m88k.c
+3
-17
No files found.
gcc/config/m88k/m88k.c
View file @
0093e75b
...
...
@@ -46,7 +46,7 @@ extern char *ctime ();
extern
int
flag_traditional
;
extern
FILE
*
asm_out_file
;
static
char
out_sccs_id
[]
=
"@(#)m88k.c 2.2.6.
6 02 Jul 1992 06:06:08
"
;
static
char
out_sccs_id
[]
=
"@(#)m88k.c 2.2.6.
9 04 Jul 1992 13:17:36
"
;
static
char
tm_sccs_id
[]
=
TM_SCCS_ID
;
char
*
m88k_pound_sign
=
""
;
/* Either # for SVR4 or empty for SVR3 */
...
...
@@ -1748,34 +1748,20 @@ m88k_end_prologue (stream)
PUT_OCS_FUNCTION_START
(
stream
);
if
(
epilogue_marked
)
abort
();
frame_laid_out
=
0
;
}
void
m88k_expand_prologue
()
{
int
old_fp_offset
=
m88k_fp_offset
;
int
old_stack_size
=
m88k_stack_size
;
m88k_layout_frame
();
#if (MONITOR_GCC & 0x8)
/* Watch for suspicious register elimination changes. */
if
(
frame_laid_out
>
1
)
{
if
(
old_fp_offset
!=
m88k_fp_offset
)
warning
(
"Internal gcc error: FP offset has changed by %d bytes"
,
m88k_fp_offset
-
old_fp_offset
);
if
(
old_stack_size
!=
m88k_stack_size
)
warning
(
"Internal gcc error: stack size has changed by %d bytes"
,
m88k_stack_size
-
old_stack_size
);
}
#endif
frame_laid_out
=
0
;
if
(
TARGET_OPTIMIZE_ARG_AREA
&&
m88k_stack_size
&&
!
uses_arg_area_p
())
{
/* The incoming argument area is used for stack space if it is not
used (or if -mno-
us
e-arg-area is given). */
used (or if -mno-
optimiz
e-arg-area is given). */
if
((
m88k_stack_size
-=
REG_PARM_STACK_SPACE
(
0
))
<
0
)
m88k_stack_size
=
0
;
}
...
...
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