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
6f09c35c
Commit
6f09c35c
authored
Mar 01, 1995
by
Per Bothner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove Feb 13's FUNCTION_NEEDS_STATIC_CHAIN changes.
From-SVN: r9107
parent
b001a02f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
10 deletions
+0
-10
gcc/c-decl.c
+0
-3
gcc/tree.h
+0
-7
No files found.
gcc/c-decl.c
View file @
6f09c35c
...
@@ -4884,9 +4884,6 @@ grokdeclarator (declarator, declspecs, decl_context, initialized)
...
@@ -4884,9 +4884,6 @@ grokdeclarator (declarator, declspecs, decl_context, initialized)
if
(
extern_ref
)
if
(
extern_ref
)
DECL_EXTERNAL
(
decl
)
=
1
;
DECL_EXTERNAL
(
decl
)
=
1
;
else
if
(
current_function_decl
!=
NULL_TREE
)
FUNCTION_NEEDS_STATIC_CHAIN
(
decl
)
=
1
;
/* Record absence of global scope for `static' or `auto'. */
/* Record absence of global scope for `static' or `auto'. */
TREE_PUBLIC
(
decl
)
TREE_PUBLIC
(
decl
)
=
!
(
specbits
&
((
1
<<
(
int
)
RID_STATIC
)
|
(
1
<<
(
int
)
RID_AUTO
)));
=
!
(
specbits
&
((
1
<<
(
int
)
RID_STATIC
)
|
(
1
<<
(
int
)
RID_AUTO
)));
...
...
gcc/tree.h
View file @
6f09c35c
...
@@ -947,13 +947,6 @@ struct tree_type
...
@@ -947,13 +947,6 @@ struct tree_type
alternative would be passed. */
alternative would be passed. */
#define DECL_TRANSPARENT_UNION(NODE) ((NODE)->decl.transparent_union)
#define DECL_TRANSPARENT_UNION(NODE) ((NODE)->decl.transparent_union)
/* In a FUNCTION_DECL, zero means it is a nested function that needs
a trampoline (closure). If nonzero, it is a normal function.
(A nested function can be static if it doesn't need to reference
stack variables in a surrounding function.)
This is unrelated to whether a function is static in the C sense. */
#define FUNCTION_NEEDS_STATIC_CHAIN(NODE) ((NODE)->decl.transparent_union)
/* Used in FUNCTION_DECLs to indicate that they should be run automatically
/* Used in FUNCTION_DECLs to indicate that they should be run automatically
at the beginning or end of execution. */
at the beginning or end of execution. */
#define DECL_STATIC_CONSTRUCTOR(NODE) ((NODE)->decl.static_ctor_flag)
#define DECL_STATIC_CONSTRUCTOR(NODE) ((NODE)->decl.static_ctor_flag)
...
...
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