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
a259f218
Commit
a259f218
authored
Apr 19, 2003
by
Richard Kenner
Committed by
Richard Kenner
Apr 19, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* calls.c (expand_call): Provide init for old_stack_pointer_delta.
From-SVN: r65814
parent
8555daff
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletions
+9
-1
gcc/ChangeLog
+4
-0
gcc/calls.c
+5
-1
No files found.
gcc/ChangeLog
View file @
a259f218
2003-04-19 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* calls.c (expand_call): Provide init for old_stack_pointer_delta.
2003-04-19 Nathan Sidwell <nathan@codesourcery.com>
2003-04-19 Nathan Sidwell <nathan@codesourcery.com>
* doc/invoke.texi (-fprofile-arcs): Mention -lgcov, locking and
* doc/invoke.texi (-fprofile-arcs): Mention -lgcov, locking and
...
...
gcc/calls.c
View file @
a259f218
...
@@ -2212,7 +2212,7 @@ expand_call (exp, target, ignore)
...
@@ -2212,7 +2212,7 @@ expand_call (exp, target, ignore)
/* Some stack pointer alterations we make are performed via
/* Some stack pointer alterations we make are performed via
allocate_dynamic_stack_space. This modifies the stack_pointer_delta,
allocate_dynamic_stack_space. This modifies the stack_pointer_delta,
which we then also need to save/restore along the way. */
which we then also need to save/restore along the way. */
int
old_stack_pointer_delta
;
int
old_stack_pointer_delta
=
0
;
rtx
call_fusage
;
rtx
call_fusage
;
tree
p
=
TREE_OPERAND
(
exp
,
0
);
tree
p
=
TREE_OPERAND
(
exp
,
0
);
...
@@ -2515,6 +2515,10 @@ expand_call (exp, target, ignore)
...
@@ -2515,6 +2515,10 @@ expand_call (exp, target, ignore)
optimized. */
optimized. */
||
(
flags
&
(
ECF_RETURNS_TWICE
|
ECF_LONGJMP
|
ECF_NORETURN
))
||
(
flags
&
(
ECF_RETURNS_TWICE
|
ECF_LONGJMP
|
ECF_NORETURN
))
||
TYPE_VOLATILE
(
TREE_TYPE
(
TREE_TYPE
(
addr
)))
||
TYPE_VOLATILE
(
TREE_TYPE
(
TREE_TYPE
(
addr
)))
/* If the called function is nested in the current one, it might access
some of the caller's arguments, but could clobber them beforehand if
the argument areas are shared. */
||
decl_function_context
(
fndecl
)
==
current_function_decl
/* If this function requires more stack slots than the current
/* If this function requires more stack slots than the current
function, we cannot change it into a sibling call. */
function, we cannot change it into a sibling call. */
||
args_size
.
constant
>
current_function_args_size
||
args_size
.
constant
>
current_function_args_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