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
4b756989
Commit
4b756989
authored
Sep 18, 2008
by
Andrew MacLeod
Committed by
Andrew Macleod
Sep 18, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix comments and formatrting
From-SVN: r140457
parent
a38df783
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
gcc/ChangeLog
+5
-0
gcc/tree-flow.h
+1
-1
gcc/tree-outof-ssa.c
+3
-3
No files found.
gcc/ChangeLog
View file @
4b756989
2008
-
09
-
18
Andrew
MacLeod
<
amacleod
@redhat
.
com
>
2008
-
09
-
18
Andrew
MacLeod
<
amacleod
@redhat
.
com
>
*
tree
-
outof
-
ssa
.
c
(
eliminate_useless_phis
)
:
fix
formatting
.
*
tree
-
flow
-
.
h
(
struct
immediate_use_iterator_d
)
:
Fix
comment
.
2008
-
09
-
18
Andrew
MacLeod
<
amacleod
@redhat
.
com
>
PR
tree
-
optimization
/
37102
PR
tree
-
optimization
/
37102
*
tree
-
outof
-
ssa
.
c
(
remove_gimple_phi_args
)
:
Remove
all
the
PHI
args
*
tree
-
outof
-
ssa
.
c
(
remove_gimple_phi_args
)
:
Remove
all
the
PHI
args
from
a
node
.
Check
to
see
if
another
PHI
is
dead
.
from
a
node
.
Check
to
see
if
another
PHI
is
dead
.
...
...
gcc/tree-flow.h
View file @
4b756989
...
@@ -508,7 +508,7 @@ typedef struct immediate_use_iterator_d
...
@@ -508,7 +508,7 @@ typedef struct immediate_use_iterator_d
{
{
FOR_EACH_IMM_USE_ON_STMT (use_p, iter)
FOR_EACH_IMM_USE_ON_STMT (use_p, iter)
{
{
SET_USE (use_p
) = blah
;
SET_USE (use_p
, blah)
;
}
}
update_stmt (stmt);
update_stmt (stmt);
} */
} */
...
...
gcc/tree-outof-ssa.c
View file @
4b756989
...
@@ -606,7 +606,7 @@ replace_def_variable (var_map map, def_operand_p def_p, tree *expr)
...
@@ -606,7 +606,7 @@ replace_def_variable (var_map map, def_operand_p def_p, tree *expr)
}
}
/* Remove each argument from
a PHI node
. If an arg was the last use of an SSA_NAME,
/* Remove each argument from
PHI
. If an arg was the last use of an SSA_NAME,
check to see if this allows another PHI node to be removed. */
check to see if this allows another PHI node to be removed. */
static
void
static
void
...
@@ -667,8 +667,8 @@ eliminate_useless_phis (void)
...
@@ -667,8 +667,8 @@ eliminate_useless_phis (void)
{
{
#ifdef ENABLE_CHECKING
#ifdef ENABLE_CHECKING
size_t
i
;
size_t
i
;
/* There should be no arguments
of this PHI which are not virtual, or we
/* There should be no arguments
which are not virtual, or the
get incorrect results
. */
results will be incorrect
. */
for
(
i
=
0
;
i
<
gimple_phi_num_args
(
phi
);
i
++
)
for
(
i
=
0
;
i
<
gimple_phi_num_args
(
phi
);
i
++
)
{
{
tree
arg
=
PHI_ARG_DEF
(
phi
,
i
);
tree
arg
=
PHI_ARG_DEF
(
phi
,
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