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
41dfd40c
Commit
41dfd40c
authored
Oct 04, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix error in last change.
From-SVN: r8215
parent
34661f5c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
gcc/expr.c
+8
-8
No files found.
gcc/expr.c
View file @
41dfd40c
...
@@ -9109,9 +9109,6 @@ do_jump_for_compare (comparison, if_false_label, if_true_label)
...
@@ -9109,9 +9109,6 @@ do_jump_for_compare (comparison, if_false_label, if_true_label)
rtx
prev
=
get_last_insn
();
rtx
prev
=
get_last_insn
();
rtx
branch
=
0
;
rtx
branch
=
0
;
if
(
prev
!=
0
)
prev
=
PREV_INSN
(
prev
);
/* Output the branch with the opposite condition. Then try to invert
/* Output the branch with the opposite condition. Then try to invert
what is generated. If more than one insn is a branch, or if the
what is generated. If more than one insn is a branch, or if the
branch is not the last insn written, abort. If we can't invert
branch is not the last insn written, abort. If we can't invert
...
@@ -9123,14 +9120,17 @@ do_jump_for_compare (comparison, if_false_label, if_true_label)
...
@@ -9123,14 +9120,17 @@ do_jump_for_compare (comparison, if_false_label, if_true_label)
else
else
abort
();
abort
();
/* Here we get the insn before what was just emitted.
/* Here we get the first insn that was just emitted. It used to be the
On some machines, emitting the branch can discard
case that, on some machines, emitting the branch would discard
the previous compare insn and emit a replacement. */
the previous compare insn and emit a replacement. This isn't
done anymore, but abort if we see that PREV is deleted. */
if
(
prev
==
0
)
if
(
prev
==
0
)
/* If there's only one preceding insn... */
insn
=
get_insns
();
insn
=
get_insns
();
else
if
(
INSN_DELETED_P
(
prev
))
abort
();
else
else
insn
=
NEXT_INSN
(
NEXT_INSN
(
prev
)
);
insn
=
NEXT_INSN
(
prev
);
for
(;
insn
;
insn
=
NEXT_INSN
(
insn
))
for
(;
insn
;
insn
=
NEXT_INSN
(
insn
))
if
(
GET_CODE
(
insn
)
==
JUMP_INSN
)
if
(
GET_CODE
(
insn
)
==
JUMP_INSN
)
...
...
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