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
2a925431
Commit
2a925431
authored
Apr 20, 2005
by
Kazu Hirata
Committed by
Kazu Hirata
Apr 20, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* tree-ssa-phiopt.c: Fix comments.
From-SVN: r98462
parent
e5206274
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
gcc/ChangeLog
+2
-0
gcc/tree-ssa-phiopt.c
+3
-2
No files found.
gcc/ChangeLog
View file @
2a925431
...
...
@@ -8,6 +8,8 @@
minmax_replacement, abs_replacement): Remove argument PHI_BB.
Update a call to replace_phi_edge_with_variable.
* tree-ssa-phiopt.c: Fix comments.
2005-04-20 Michael Matz <matz@suse.de>
PR20973
...
...
gcc/tree-ssa-phiopt.c
View file @
2a925431
...
...
@@ -205,7 +205,8 @@ tree_ssa_phiopt (void)
||
(
e1
->
flags
&
EDGE_FALLTHRU
)
==
0
)
continue
;
/* Also make that bb1 only have one pred and it is bb. */
/* Also make sure that bb1 only have one predecessor and that it
is bb. */
if
(
!
single_pred_p
(
bb1
)
||
single_pred
(
bb1
)
!=
bb
)
continue
;
...
...
@@ -221,7 +222,7 @@ tree_ssa_phiopt (void)
arg0
=
PHI_ARG_DEF_TREE
(
phi
,
e1
->
dest_idx
);
arg1
=
PHI_ARG_DEF_TREE
(
phi
,
e2
->
dest_idx
);
/*
We know something is wrong if we cannot find the edge
s in the PHI
/*
Something is wrong if we cannot find the argument
s in the PHI
node. */
gcc_assert
(
arg0
!=
NULL
&&
arg1
!=
NULL
);
...
...
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