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
34661f5c
Commit
34661f5c
authored
Oct 04, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(do_jump_for_compare): Properly scan insns when branch is at start of
sequence. From-SVN: r8214
parent
0b90f9c2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
gcc/expr.c
+3
-3
No files found.
gcc/expr.c
View file @
34661f5c
...
...
@@ -9119,7 +9119,7 @@ do_jump_for_compare (comparison, if_false_label, if_true_label)
emit a jump to the false label and define the true label. */
if
(
bcc_gen_fctn
[(
int
)
GET_CODE
(
comparison
)]
!=
0
)
emit_jump_insn
((
*
bcc_gen_fctn
[(
int
)
GET_CODE
(
comparison
)])
(
if_false_label
));
emit_jump_insn
((
*
bcc_gen_fctn
[(
int
)
GET_CODE
(
comparison
)])(
if_false_label
));
else
abort
();
...
...
@@ -9130,9 +9130,9 @@ do_jump_for_compare (comparison, if_false_label, if_true_label)
/* If there's only one preceding insn... */
insn
=
get_insns
();
else
insn
=
NEXT_INSN
(
prev
);
insn
=
NEXT_INSN
(
NEXT_INSN
(
prev
)
);
for
(
insn
=
NEXT_INSN
(
insn
)
;
insn
;
insn
=
NEXT_INSN
(
insn
))
for
(;
insn
;
insn
=
NEXT_INSN
(
insn
))
if
(
GET_CODE
(
insn
)
==
JUMP_INSN
)
{
if
(
branch
)
...
...
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