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
0dab8f8a
Commit
0dab8f8a
authored
May 22, 2000
by
Richard Henderson
Committed by
Richard Henderson
May 22, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* jump.c (can_reverse_comparison_p): Be prepared for insn null.
From-SVN: r34077
parent
a774e06e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
gcc/ChangeLog
+1
-0
gcc/jump.c
+4
-2
No files found.
gcc/ChangeLog
View file @
0dab8f8a
...
...
@@ -2,6 +2,7 @@
*
simplify
-
rtx
.
c
(
simplify_ternary_operation
)
:
Try
to
simplify
IF_THEN_ELSE
to
a
setcc
form
.
*
jump
.
c
(
can_reverse_comparison_p
)
:
Be
prepared
for
insn
null
.
2000
-
05
-
21
Kaveh
R
.
Ghazi
<
ghazi
@caip
.
rutgers
.
edu
>
gcc/jump.c
View file @
0dab8f8a
...
...
@@ -1775,8 +1775,7 @@ can_reverse_comparison_p (comparison, insn)
#endif
)
{
rtx
prev
=
prev_nonnote_insn
(
insn
);
rtx
set
;
rtx
prev
,
set
;
/* First see if the condition code mode alone if enough to say we can
reverse the condition. If not, then search backwards for a set of
...
...
@@ -1788,6 +1787,9 @@ can_reverse_comparison_p (comparison, insn)
&&
REVERSIBLE_CC_MODE
(
GET_MODE
(
arg0
)))
return
1
;
#endif
if
(
!
insn
)
return
0
;
for
(
prev
=
prev_nonnote_insn
(
insn
);
prev
!=
0
&&
GET_CODE
(
prev
)
!=
CODE_LABEL
;
...
...
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