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
e2cce0cf
Commit
e2cce0cf
authored
Dec 16, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(distribute_notes): When output an insn to hold a REG_DEAD note,
update basic_block_head if necessary. From-SVN: r8658
parent
6060a796
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
gcc/combine.c
+10
-3
No files found.
gcc/combine.c
View file @
e2cce0cf
...
...
@@ -10576,9 +10576,16 @@ distribute_notes (notes, from_insn, i3, i2, elim_i2, elim_i1)
put the death node there. This prevents problems with
call-state tracking in caller-save.c. */
if
(
REG_NOTE_KIND
(
note
)
==
REG_DEAD
&&
place
==
0
&&
tem
!=
0
)
place
=
emit_insn_after
(
gen_rtx
(
USE
,
VOIDmode
,
XEXP
(
note
,
0
)),
tem
);
{
place
=
emit_insn_after
(
gen_rtx
(
USE
,
VOIDmode
,
XEXP
(
note
,
0
)),
tem
);
/* If this insn was emitted between blocks, then update
basic_block_head of the current block to include it. */
if
(
basic_block_end
[
this_basic_block
-
1
]
==
tem
)
basic_block_head
[
this_basic_block
]
=
place
;
}
}
/* If the register is set or already dead at PLACE, we needn't do
...
...
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