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
07f64b95
Commit
07f64b95
authored
Jul 28, 1993
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(schedule_block): Do not emit line number notes before other notes.
From-SVN: r5020
parent
21432660
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
gcc/sched.c
+5
-2
No files found.
gcc/sched.c
View file @
07f64b95
...
@@ -3738,8 +3738,11 @@ schedule_block (b, file)
...
@@ -3738,8 +3738,11 @@ schedule_block (b, file)
for
(
insn
=
head
;
insn
!=
next_tail
;
insn
=
NEXT_INSN
(
insn
))
for
(
insn
=
head
;
insn
!=
next_tail
;
insn
=
NEXT_INSN
(
insn
))
if
(
GET_CODE
(
insn
)
==
NOTE
&&
NOTE_LINE_NUMBER
(
insn
)
>
0
)
if
(
GET_CODE
(
insn
)
==
NOTE
&&
NOTE_LINE_NUMBER
(
insn
)
>
0
)
line
=
insn
;
line
=
insn
;
else
if
(
!
(
GET_CODE
(
insn
)
==
NOTE
/* This used to emit line number notes before every non-deleted note.
&&
NOTE_LINE_NUMBER
(
insn
)
==
NOTE_INSN_DELETED
)
However, this confuses a debugger, because line notes not separated
by real instructions all end up at the same address. I can find no
use for line number notes before other notes, so none are emitted. */
else
if
(
GET_CODE
(
insn
)
!=
NOTE
&&
(
note
=
LINE_NOTE
(
insn
))
!=
0
&&
(
note
=
LINE_NOTE
(
insn
))
!=
0
&&
note
!=
line
&&
note
!=
line
&&
(
line
==
0
&&
(
line
==
0
...
...
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