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
27fd69fa
Commit
27fd69fa
authored
Nov 09, 2004
by
Kazu Hirata
Committed by
Kazu Hirata
Nov 09, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* tree-cfg.c (create_bb): Remove unnecessary memset.
From-SVN: r90360
parent
6c99d79f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
gcc/ChangeLog
+4
-0
gcc/tree-cfg.c
+3
-2
No files found.
gcc/ChangeLog
View file @
27fd69fa
2004
-
11
-
09
Kazu
Hirata
<
kazu
@
cs
.
umass
.
edu
>
2004
-
11
-
09
Kazu
Hirata
<
kazu
@
cs
.
umass
.
edu
>
*
tree
-
cfg
.
c
(
create_bb
):
Remove
unnecessary
memset
.
2004
-
11
-
09
Kazu
Hirata
<
kazu
@
cs
.
umass
.
edu
>
*
tree
-
ssa
-
threadupdate
.
c
(
copy_phis_to_block
):
Remove
.
*
tree
-
ssa
-
threadupdate
.
c
(
copy_phis_to_block
):
Remove
.
(
thread_block
):
Call
flush_pending_stmt
instead
of
(
thread_block
):
Call
flush_pending_stmt
instead
of
copy_phis_to_block
.
copy_phis_to_block
.
...
...
gcc/tree-cfg.c
View file @
27fd69fa
...
@@ -375,9 +375,10 @@ create_bb (void *h, void *e, basic_block after)
...
@@ -375,9 +375,10 @@ create_bb (void *h, void *e, basic_block after)
gcc_assert
(
!
e
);
gcc_assert
(
!
e
);
/* Create and initialize a new basic block. */
/* Create and initialize a new basic block. Since alloc_block uses
ggc_alloc_cleared to allocate a basic block, we do not have to
clear the newly allocated basic block here. */
bb
=
alloc_block
();
bb
=
alloc_block
();
memset
(
bb
,
0
,
sizeof
(
*
bb
));
bb
->
index
=
last_basic_block
;
bb
->
index
=
last_basic_block
;
bb
->
flags
=
BB_NEW
;
bb
->
flags
=
BB_NEW
;
...
...
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