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
5a76b349
Commit
5a76b349
authored
May 07, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(mark_{referenced,set}_resources): Fix typos in last change.
From-SVN: r7266
parent
b87b7ecd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
gcc/reorg.c
+6
-8
No files found.
gcc/reorg.c
View file @
5a76b349
...
...
@@ -416,7 +416,7 @@ mark_referenced_resources (x, res, include_delayed_effects)
rtx
slot_pat
=
PATTERN
(
XVECEXP
(
sequence
,
0
,
i
));
if
(
GET_CODE
(
slot_pat
)
==
SET
&&
rtx_equal_p
(
SET_DEST
(
slot_pat
),
SET_DEST
(
XEXP
(
link
,
0
)))
SET_DEST
(
XEXP
(
link
,
0
)))
)
break
;
}
if
(
i
>=
seq_size
)
...
...
@@ -516,6 +516,7 @@ mark_set_resources (x, res, in_dest, include_delayed_effects)
{
rtx
next
=
NEXT_INSN
(
x
);
rtx
prev
=
PREV_INSN
(
x
);
rtx
link
;
res
->
cc
=
res
->
memory
=
1
;
for
(
i
=
0
;
i
<
FIRST_PSEUDO_REGISTER
;
i
++
)
...
...
@@ -527,13 +528,10 @@ mark_set_resources (x, res, in_dest, include_delayed_effects)
if
(
NEXT_INSN
(
prev
)
!=
x
)
next
=
NEXT_INSN
(
NEXT_INSN
(
prev
));
{
rtx
link
;
for
(
link
=
CALL_INSN_FUNCTION_USAGE
(
insn
);
link
;
link
=
XEXP
(
link
,
1
))
if
(
GET_CODE
(
XEXP
(
link
,
0
))
==
CLOBBER
)
mark_set_resources
(
SET_DEST
(
XEXP
(
link
,
0
)),
res
,
1
,
0
);
}
for
(
link
=
CALL_INSN_FUNCTION_USAGE
(
x
);
link
;
link
=
XEXP
(
link
,
1
))
if
(
GET_CODE
(
XEXP
(
link
,
0
))
==
CLOBBER
)
mark_set_resources
(
SET_DEST
(
XEXP
(
link
,
0
)),
res
,
1
,
0
);
/* Check for a NOTE_INSN_SETJMP. If it exists, then we must
assume that this call can clobber any register. */
...
...
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