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
0a756401
Commit
0a756401
authored
Jul 30, 2002
by
J"orn Rennecke
Committed by
Joern Rennecke
Jul 30, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* unroll.c (copy_loop_body): Don't copy NOTE_INSN_LOOP_CONT.
From-SVN: r55877
parent
68e82b83
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
gcc/ChangeLog
+4
-0
gcc/unroll.c
+6
-6
No files found.
gcc/ChangeLog
View file @
0a756401
Tue Jul 30 11:21:44 2002 J"orn Rennecke <joern.rennecke@superh.com>
* unroll.c (copy_loop_body): Don't copy NOTE_INSN_LOOP_CONT.
2002-07-30 Kazu Hirata <kazu@cs.umass.edu>
* fold-const.c: Fix comment typos.
...
...
gcc/unroll.c
View file @
0a756401
...
...
@@ -2258,15 +2258,15 @@ copy_loop_body (loop, copy_start, copy_end, map, exit_label, last_iteration,
{
/* VTOP notes are valid only before the loop exit test.
If placed anywhere else, loop may generate bad code.
There is no need to test for NOTE_INSN_LOOP_CONT notes
here, since COPY_NOTES_FROM will be at most one or two (for cc0)
instructions before the last insn in the loop, and if the
end test is that short, there will be a VTOP note between
the CONT note and the test. */
Although COPY_NOTES_FROM will be at most one or two (for cc0)
instructions before the last insn in the loop, COPY_NOTES_FROM
can be a NOTE_INSN_LOOP_CONT note if there is no VTOP note,
as in a do .. while loop. */
if
(
GET_CODE
(
insn
)
==
NOTE
&&
NOTE_LINE_NUMBER
(
insn
)
!=
NOTE_INSN_DELETED
&&
NOTE_LINE_NUMBER
(
insn
)
!=
NOTE_INSN_BASIC_BLOCK
&&
NOTE_LINE_NUMBER
(
insn
)
!=
NOTE_INSN_LOOP_VTOP
)
&&
NOTE_LINE_NUMBER
(
insn
)
!=
NOTE_INSN_LOOP_VTOP
&&
NOTE_LINE_NUMBER
(
insn
)
!=
NOTE_INSN_LOOP_CONT
)
emit_note
(
NOTE_SOURCE_FILE
(
insn
),
NOTE_LINE_NUMBER
(
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