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
7e6f1890
Commit
7e6f1890
authored
Mar 30, 1995
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove explicit 0-initializations of static variables.
From-SVN: r9269
parent
d6c80562
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
gcc/libgcc2.c
+6
-6
No files found.
gcc/libgcc2.c
View file @
7e6f1890
...
@@ -1438,7 +1438,7 @@ extern void on_exit (void*, void*);
...
@@ -1438,7 +1438,7 @@ extern void on_exit (void*, void*);
#endif
#endif
#endif
#endif
static
struct
bb
*
bb_head
=
(
struct
bb
*
)
0
;
static
struct
bb
*
bb_head
;
/* Return the number of digits needed to print a value */
/* Return the number of digits needed to print a value */
/* __inline__ */
static
int
num_digits
(
long
value
,
int
base
)
/* __inline__ */
static
int
num_digits
(
long
value
,
int
base
)
...
@@ -1745,7 +1745,7 @@ __clear_cache (beg, end)
...
@@ -1745,7 +1745,7 @@ __clear_cache (beg, end)
#else
#else
#ifdef INSN_CACHE_SIZE
#ifdef INSN_CACHE_SIZE
static
char
array
[
INSN_CACHE_SIZE
+
INSN_CACHE_PLANE_SIZE
+
INSN_CACHE_LINE_WIDTH
];
static
char
array
[
INSN_CACHE_SIZE
+
INSN_CACHE_PLANE_SIZE
+
INSN_CACHE_LINE_WIDTH
];
static
int
initialized
=
0
;
static
int
initialized
;
int
offset
;
int
offset
;
void
*
start_addr
void
*
start_addr
void
*
end_addr
;
void
*
end_addr
;
...
@@ -2041,7 +2041,7 @@ void
...
@@ -2041,7 +2041,7 @@ void
SYMBOL__MAIN
()
SYMBOL__MAIN
()
{
{
/* Support recursive calls to `main': run initializers just once. */
/* Support recursive calls to `main': run initializers just once. */
static
int
initialized
=
0
;
static
int
initialized
;
if
(
!
initialized
)
if
(
!
initialized
)
{
{
initialized
=
1
;
initialized
=
1
;
...
@@ -2124,9 +2124,9 @@ struct exception_table_node {
...
@@ -2124,9 +2124,9 @@ struct exception_table_node {
struct
exception_table_node
*
next
;
struct
exception_table_node
*
next
;
};
};
static
int
except_table_pos
=
0
;
static
int
except_table_pos
;
static
void
*
except_pc
=
(
void
*
)
0
;
static
void
*
except_pc
;
static
struct
exception_table_node
*
exception_table_list
=
0
;
static
struct
exception_table_node
*
exception_table_list
;
static
exception_table
*
static
exception_table
*
find_exception_table
(
pc
)
find_exception_table
(
pc
)
...
...
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