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
44470433
Commit
44470433
authored
Apr 26, 2006
by
Aldy Hernandez
Committed by
Aldy Hernandez
Apr 26, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* tree-ssa-dse.c (dse_optimize_stmt): Remove unused variable USE.
From-SVN: r113274
parent
91b6c26d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
gcc/ChangeLog
+4
-0
gcc/tree-ssa-dse.c
+2
-4
No files found.
gcc/ChangeLog
View file @
44470433
2006
-
04
-
26
Aldy
Hernandez
<
aldyh
@redhat
.
com
>
*
tree
-
ssa
-
dse
.
c
(
dse_optimize_stmt
)
:
Remove
unused
variable
USE
.
2006
-
04
-
26
Jakub
Jelinek
<
jakub
@redhat
.
com
>
PR
c
/
26171
...
...
gcc/tree-ssa-dse.c
View file @
44470433
...
...
@@ -249,7 +249,7 @@ dse_optimize_stmt (struct dom_walk_data *walk_data,
{
use_operand_p
first_use_p
=
NULL_USE_OPERAND_P
;
use_operand_p
use_p
=
NULL
;
tree
use
,
use
_stmt
,
temp
;
tree
use_stmt
,
temp
;
tree
defvar
=
NULL_TREE
,
usevar
=
NULL_TREE
;
bool
fail
=
false
;
use_operand_p
var2
;
...
...
@@ -279,7 +279,6 @@ dse_optimize_stmt (struct dom_walk_data *walk_data,
single_imm_use
(
defvar
,
&
use_p
,
&
temp
);
gcc_assert
(
use_p
!=
NULL_USE_OPERAND_P
);
first_use_p
=
use_p
;
use
=
USE_FROM_PTR
(
use_p
);
/* If the immediate use of DEF_VAR is not the same as the
previously find immediate uses, then we will not be able
...
...
@@ -320,8 +319,7 @@ dse_optimize_stmt (struct dom_walk_data *walk_data,
/* Skip past this PHI and loop again in case we had a PHI
chain. */
if
(
single_imm_use
(
PHI_RESULT
(
use_stmt
),
&
use_p
,
&
use_stmt
))
use
=
USE_FROM_PTR
(
use_p
);
single_imm_use
(
PHI_RESULT
(
use_stmt
),
&
use_p
,
&
use_stmt
);
}
/* If we have precisely one immediate use at this point, then we may
...
...
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