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
fb67cb9f
Commit
fb67cb9f
authored
Dec 02, 2001
by
Richard Kenner
Committed by
Richard Kenner
Dec 02, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* cfgbuild.c (SET_STATE): Add cast to eliminate warning.a
From-SVN: r47530
parent
f813aee7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
gcc/ChangeLog
+4
-0
gcc/cfgbuild.c
+3
-6
No files found.
gcc/ChangeLog
View file @
fb67cb9f
Sun
Dec
2
09
:
03
:
06
2001
Richard
Kenner
<
kenner
@vlsi1
.
ultra
.
nyu
.
edu
>
*
cfgbuild
.
c
(
SET_STATE
)
:
Add
cast
to
eliminate
warning
.
a
2001
-
12
-
02
Kaveh
R
.
Ghazi
<
ghazi
@caip
.
rutgers
.
edu
>
*
cfgrtl
.
c
(
purge_all_dead_edges
)
:
Initialize
variable
.
...
...
gcc/cfgbuild.c
View file @
fb67cb9f
...
...
@@ -674,7 +674,7 @@ enum state
BLOCK_TO_SPLIT
};
#define STATE(bb) (enum state)(size_t)(bb)->aux
#define SET_STATE(bb, state) (bb)->aux = (void *)(state)
#define SET_STATE(bb, state) (bb)->aux = (void *)
(size_t)
(state)
/* Scan basic block BB for possible BB boundaries inside the block
and create new basic blocks in the progress. */
...
...
@@ -822,11 +822,8 @@ find_many_sub_basic_blocks (blocks)
int
min
,
max
;
for
(
i
=
0
;
i
<
n_basic_blocks
;
i
++
)
{
SET_STATE
(
BASIC_BLOCK
(
i
),
TEST_BIT
(
blocks
,
i
)
?
BLOCK_TO_SPLIT
:
BLOCK_ORIGINAL
);
}
SET_STATE
(
BASIC_BLOCK
(
i
),
TEST_BIT
(
blocks
,
i
)
?
BLOCK_TO_SPLIT
:
BLOCK_ORIGINAL
);
for
(
i
=
0
;
i
<
n_basic_blocks
;
i
++
)
{
...
...
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