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
9c066566
Commit
9c066566
authored
Jun 18, 1994
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(duplicate_loop_exit_test): Initialize copy to zero.
Emit jump to end lable if copy is still zero. From-SVN: r7519
parent
ee3e2d3d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
gcc/jump.c
+3
-3
No files found.
gcc/jump.c
View file @
9c066566
...
@@ -2010,8 +2010,8 @@ static int
...
@@ -2010,8 +2010,8 @@ static int
duplicate_loop_exit_test
(
loop_start
)
duplicate_loop_exit_test
(
loop_start
)
rtx
loop_start
;
rtx
loop_start
;
{
{
rtx
insn
,
set
,
p
;
rtx
insn
,
set
,
p
,
link
;
rtx
copy
,
link
;
rtx
copy
=
0
;
int
num_insns
=
0
;
int
num_insns
=
0
;
rtx
exitcode
=
NEXT_INSN
(
JUMP_LABEL
(
next_nonnote_insn
(
loop_start
)));
rtx
exitcode
=
NEXT_INSN
(
JUMP_LABEL
(
next_nonnote_insn
(
loop_start
)));
rtx
lastexit
;
rtx
lastexit
;
...
@@ -2155,7 +2155,7 @@ duplicate_loop_exit_test (loop_start)
...
@@ -2155,7 +2155,7 @@ duplicate_loop_exit_test (loop_start)
/* Now clean up by emitting a jump to the end label and deleting the jump
/* Now clean up by emitting a jump to the end label and deleting the jump
at the start of the loop. */
at the start of the loop. */
if
(
GET_CODE
(
copy
)
!=
BARRIER
)
if
(
!
copy
||
GET_CODE
(
copy
)
!=
BARRIER
)
{
{
copy
=
emit_jump_insn_before
(
gen_jump
(
get_label_after
(
insn
)),
copy
=
emit_jump_insn_before
(
gen_jump
(
get_label_after
(
insn
)),
loop_start
);
loop_start
);
...
...
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