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
4ac74fb8
Commit
4ac74fb8
authored
Jul 27, 1997
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(put_var_into_stack, trampoline_address): Treat inline_function_decl
like current_function_decl. From-SVN: r14539
parent
b2943cea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
gcc/function.c
+3
-2
No files found.
gcc/function.c
View file @
4ac74fb8
...
...
@@ -1330,7 +1330,7 @@ put_var_into_stack (decl)
/* If this variable comes from an outer function,
find that function's saved context. */
if
(
context
!=
current_function_decl
)
if
(
context
!=
current_function_decl
&&
context
!=
inline_function_decl
)
for
(
function
=
outer_function_chain
;
function
;
function
=
function
->
next
)
if
(
function
->
decl
==
context
)
break
;
...
...
@@ -4632,7 +4632,8 @@ trampoline_address (function)
/* Find the `struct function' for the function containing FUNCTION. */
fp
=
0
;
fn_context
=
decl_function_context
(
function
);
if
(
fn_context
!=
current_function_decl
)
if
(
fn_context
!=
current_function_decl
&&
fn_context
!=
inline_function_decl
)
for
(
fp
=
outer_function_chain
;
fp
;
fp
=
fp
->
next
)
if
(
fp
->
decl
==
fn_context
)
break
;
...
...
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