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
b423779d
Commit
b423779d
authored
May 19, 1996
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add prototypes for all static functions.
From-SVN: r12041
parent
b0cb541b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
26 deletions
+33
-26
gcc/c-decl.c
+17
-11
gcc/c-iterate.c
+16
-15
No files found.
gcc/c-decl.c
View file @
b423779d
...
...
@@ -411,16 +411,20 @@ tree static_ctors, static_dtors;
/* Forward declarations. */
static
tree
grokparms
(),
grokdeclarator
();
tree
pushdecl
();
tree
builtin_function
();
void
shadow_tag_warned
();
static
tree
lookup_tag
();
static
tree
lookup_tag_reverse
();
tree
lookup_name_current_level
();
static
char
*
redeclaration_error_message
();
static
void
layout_array_type
();
static
struct
binding_level
*
make_binding_level
PROTO
((
void
));
static
void
clear_limbo_values
PROTO
((
tree
));
static
int
duplicate_decls
PROTO
((
tree
,
tree
,
int
));
static
char
*
redeclaration_error_message
PROTO
((
tree
,
tree
));
static
void
storedecls
PROTO
((
tree
));
static
void
storetags
PROTO
((
tree
));
static
tree
lookup_tag
PROTO
((
enum
tree_code
,
tree
,
struct
binding_level
*
,
int
));
static
tree
lookup_tag_reverse
PROTO
((
tree
));
static
tree
grokdeclarator
PROTO
((
tree
,
tree
,
enum
decl_context
,
int
));
static
tree
grokparms
PROTO
((
tree
,
int
));
static
int
field_decl_cmp
PROTO
((
tree
*
,
tree
*
));
static
void
layout_array_type
PROTO
((
tree
));
/* C-specific option variables. */
...
...
@@ -6790,7 +6794,9 @@ combine_parm_decls (specparms, parmlist, void_at_end)
if
(
void_at_end
)
return
saveable_tree_cons
(
parmdecls
,
nonparms
,
nreverse
(
saveable_tree_cons
(
NULL_TREE
,
void_type_node
,
types
)));
nreverse
(
saveable_tree_cons
(
NULL_TREE
,
void_type_node
,
types
)));
return
saveable_tree_cons
(
parmdecls
,
nonparms
,
nreverse
(
types
));
}
...
...
gcc/c-iterate.c
View file @
b423779d
...
...
@@ -30,20 +30,6 @@ Boston, MA 02111-1307, USA. */
#include "flags.h"
#include "obstack.h"
#include "rtl.h"
static
void
expand_stmt_with_iterators_1
();
static
tree
collect_iterators
();
static
void
iterator_loop_prologue
();
static
void
iterator_loop_epilogue
();
static
void
add_ixpansion
();
static
void
delete_ixpansion
();
static
int
top_level_ixpansion_p
();
static
void
istack_sublevel_to_current
();
/* A special obstack, and a pointer to the start of
all the data in it (so we can free everything easily). */
static
struct
obstack
ixp_obstack
;
static
char
*
ixp_firstobj
;
/*
KEEPING TRACK OF EXPANSIONS
...
...
@@ -96,11 +82,26 @@ struct iter_stack_node
};
struct
iter_stack_node
*
iter_stack
;
struct
iter_stack_node
sublevel_ixpansions
;
/* A special obstack, and a pointer to the start of
all the data in it (so we can free everything easily). */
static
struct
obstack
ixp_obstack
;
static
char
*
ixp_firstobj
;
/* During collect_iterators, a list of SAVE_EXPRs already scanned. */
static
tree
save_exprs
;
static
void
expand_stmt_with_iterators_1
PROTO
((
tree
,
tree
));
static
tree
collect_iterators
PROTO
((
tree
,
tree
));
static
void
iterator_loop_prologue
PROTO
((
tree
,
rtx
*
,
rtx
*
));
static
void
iterator_loop_epilogue
PROTO
((
tree
,
rtx
*
,
rtx
*
));
static
int
top_level_ixpansion_p
PROTO
((
void
));
static
void
isn_append
PROTO
((
struct
iter_stack_node
*
,
struct
iter_stack_node
*
));
static
void
istack_sublevel_to_current
PROTO
((
void
));
static
void
add_ixpansion
PROTO
((
tree
,
rtx
,
rtx
,
rtx
,
rtx
));
static
void
delete_ixpansion
PROTO
((
tree
));
/* Initialize our obstack once per compilation. */
...
...
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