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
b54567e2
Commit
b54567e2
authored
20 years ago
by
Roman Zippel
Committed by
Richard Henderson
20 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* combine.c (distribute_notes): Don't add REG_LABEL to jump insn.
From-SVN: r87002
parent
5906d013
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
8 deletions
+16
-8
gcc/ChangeLog
+4
-0
gcc/combine.c
+12
-8
No files found.
gcc/ChangeLog
View file @
b54567e2
2004-09-02 Roman Zippel <zippel@linux-m68k.org>
* combine.c (distribute_notes): Don't add REG_LABEL to jump insn.
2004-09-02 Eric Christopher <echristo@redhat.com>
* builtins.c (expand_builtin_cabs): Delete.
...
...
This diff is collapsed.
Click to expand it.
gcc/combine.c
View file @
b54567e2
...
...
@@ -11839,21 +11839,25 @@ distribute_notes (rtx notes, rtx from_insn, rtx i3, rtx i2)
place
=
i2
;
}
/* Don't attach REG_LABEL note to a JUMP_INSN
which has
JUMP_LABEL already. Instead,
decrement LABEL_NUSES. */
if
(
place
&&
JUMP_P
(
place
)
&&
JUMP_LABEL
(
place
)
)
/* Don't attach REG_LABEL note to a JUMP_INSN
. Add
a JUMP_LABEL instead or
decrement LABEL_NUSES. */
if
(
place
&&
JUMP_P
(
place
))
{
if
(
JUMP_LABEL
(
place
)
!=
XEXP
(
note
,
0
))
if
(
!
JUMP_LABEL
(
place
))
JUMP_LABEL
(
place
)
=
XEXP
(
note
,
0
);
else
if
(
JUMP_LABEL
(
place
)
!=
XEXP
(
note
,
0
))
abort
();
if
(
LABEL_P
(
JUMP_LABEL
(
place
)))
else
if
(
LABEL_P
(
JUMP_LABEL
(
place
)))
LABEL_NUSES
(
JUMP_LABEL
(
place
))
--
;
place
=
0
;
}
if
(
place2
&&
JUMP_P
(
place2
)
&&
JUMP_LABEL
(
place2
)
)
if
(
place2
&&
JUMP_P
(
place2
))
{
if
(
JUMP_LABEL
(
place2
)
!=
XEXP
(
note
,
0
))
if
(
!
JUMP_LABEL
(
place2
))
JUMP_LABEL
(
place2
)
=
XEXP
(
note
,
0
);
else
if
(
JUMP_LABEL
(
place2
)
!=
XEXP
(
note
,
0
))
abort
();
if
(
LABEL_P
(
JUMP_LABEL
(
place2
)))
else
if
(
LABEL_P
(
JUMP_LABEL
(
place2
)))
LABEL_NUSES
(
JUMP_LABEL
(
place2
))
--
;
place2
=
0
;
}
...
...
This diff is collapsed.
Click to expand it.
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