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
78571511
Commit
78571511
authored
Nov 08, 2001
by
Richard Kenner
Committed by
Richard Kenner
Nov 08, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* reload1.c (reload): Don't delete equiv insn if can throw.
From-SVN: r46866
parent
66c60e67
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
gcc/ChangeLog
+2
-0
gcc/reload1.c
+10
-3
No files found.
gcc/ChangeLog
View file @
78571511
Thu
Nov
8
18
:
00
:
55
2001
Richard
Kenner
<
kenner
@vlsi1
.
ultra
.
nyu
.
edu
>
*
reload1
.
c
(
reload
)
:
Don
'
t
delete
equiv
insn
if
can
throw
.
*
expr
.
c
(
emit_block_move
)
:
If
X
is
readonly
emit
CLOBBER
for
it
.
(
clear_storage
)
:
Likewise
,
for
OBJECT
.
...
...
gcc/reload1.c
View file @
78571511
...
...
@@ -1071,9 +1071,16 @@ reload (first, global)
for
(
list
=
reg_equiv_init
[
i
];
list
;
list
=
XEXP
(
list
,
1
))
{
rtx
equiv_insn
=
XEXP
(
list
,
0
);
if
(
GET_CODE
(
equiv_insn
)
==
NOTE
)
continue
;
if
(
reg_set_p
(
regno_reg_rtx
[
i
],
PATTERN
(
equiv_insn
)))
/* If we already deleted the insn or if it may trap, we can't
delete it. The latter case shouldn't happen, but can
if an insn has a variable address, gets a REG_EH_REGION
note added to it, and then gets converted into an load
from a constant address. */
if
(
GET_CODE
(
equiv_insn
)
==
NOTE
||
can_throw_internal
(
equiv_insn
))
;
else
if
(
reg_set_p
(
regno_reg_rtx
[
i
],
PATTERN
(
equiv_insn
)))
delete_dead_insn
(
equiv_insn
);
else
{
...
...
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