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
5415b705
Commit
5415b705
authored
Oct 18, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(start_function): Save immediate_size_expand and initialize it to zero
in case nested function. From-SVN: r8302
parent
0fc4f911
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
gcc/c-decl.c
+6
-0
No files found.
gcc/c-decl.c
View file @
5415b705
...
...
@@ -5853,6 +5853,7 @@ start_function (declspecs, declarator, nested)
{
tree
decl1
,
old_decl
;
tree
restype
;
int
old_immediate_size_expand
=
immediate_size_expand
;
current_function_returns_value
=
0
;
/* Assume, until we see it does. */
current_function_returns_null
=
0
;
...
...
@@ -5862,6 +5863,9 @@ start_function (declspecs, declarator, nested)
named_labels
=
0
;
shadowed_labels
=
0
;
/* Don't expand any sizes in the return type of the function. */
immediate_size_expand
=
0
;
decl1
=
grokdeclarator
(
declarator
,
declspecs
,
FUNCDEF
,
1
);
/* If the declarator is not suitable for a function definition,
...
...
@@ -5997,6 +6001,8 @@ start_function (declspecs, declarator, nested)
if
(
TREE_ADDRESSABLE
(
DECL_ASSEMBLER_NAME
(
current_function_decl
)))
TREE_ADDRESSABLE
(
current_function_decl
)
=
1
;
immediate_size_expand
=
old_immediate_size_expand
;
return
1
;
}
...
...
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