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
780c3483
Commit
780c3483
authored
Jan 07, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(dbr_schedule): Add missing casts in bzero call.
From-SVN: r8725
parent
7e139075
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
gcc/reorg.c
+6
-5
No files found.
gcc/reorg.c
View file @
780c3483
/* Perform instruction reorganizations for delay slot filling.
Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
Copyright (C) 1992, 1993, 1994
. 1995
Free Software Foundation, Inc.
Contributed by Richard Kenner (kenner@vlsi1.ultra.nyu.edu).
Hacked by Michael Tiemann (tiemann@cygnus.com).
...
...
@@ -4287,14 +4287,15 @@ dbr_schedule (first, file)
target_hash_table
=
(
struct
target_info
**
)
alloca
((
TARGET_HASH_PRIME
*
sizeof
(
struct
target_info
*
)));
bzero
(
target_hash_table
,
TARGET_HASH_PRIME
*
sizeof
(
struct
target_info
*
));
bzero
((
char
*
)
target_hash_table
,
TARGET_HASH_PRIME
*
sizeof
(
struct
target_info
*
));
bb_ticks
=
(
int
*
)
alloca
(
n_basic_blocks
*
sizeof
(
int
));
bzero
(
bb_ticks
,
n_basic_blocks
*
sizeof
(
int
));
bzero
(
(
char
*
)
bb_ticks
,
n_basic_blocks
*
sizeof
(
int
));
/* Initialize the statistics for this function. */
bzero
(
num_insns_needing_delays
,
sizeof
num_insns_needing_delays
);
bzero
(
num_filled_delays
,
sizeof
num_filled_delays
);
bzero
(
(
char
*
)
num_insns_needing_delays
,
sizeof
num_insns_needing_delays
);
bzero
(
(
char
*
)
num_filled_delays
,
sizeof
num_filled_delays
);
/* Now do the delay slot filling. Try everything twice in case earlier
changes make more slots fillable. */
...
...
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