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
8244fc4f
Commit
8244fc4f
authored
Apr 07, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(mark_set_1): Clear reg_next_use for all kinds of regs.
From-SVN: r4041
parent
84ab931b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
gcc/flow.c
+5
-3
No files found.
gcc/flow.c
View file @
8244fc4f
...
@@ -1795,6 +1795,9 @@ mark_set_1 (needed, dead, x, insn, significant)
...
@@ -1795,6 +1795,9 @@ mark_set_1 (needed, dead, x, insn, significant)
/* Mark it as as dead before this insn. */
/* Mark it as as dead before this insn. */
dead
[
offset
]
|=
bit
;
dead
[
offset
]
|=
bit
;
/* The next use is no longer "next", since a store intervenes. */
reg_next_use
[
regno
]
=
0
;
/* A hard reg in a wide mode may really be multiple registers.
/* A hard reg in a wide mode may really be multiple registers.
If so, mark all of them just like the first. */
If so, mark all of them just like the first. */
if
(
regno
<
FIRST_PSEUDO_REGISTER
)
if
(
regno
<
FIRST_PSEUDO_REGISTER
)
...
@@ -1863,9 +1866,6 @@ mark_set_1 (needed, dead, x, insn, significant)
...
@@ -1863,9 +1866,6 @@ mark_set_1 (needed, dead, x, insn, significant)
reg_live_length
[
regno
]
++
;
reg_live_length
[
regno
]
++
;
}
}
/* The next use is no longer "next", since a store intervenes. */
reg_next_use
[
regno
]
=
0
;
if
(
all_needed
)
if
(
all_needed
)
{
{
/* Make a logical link from the next following insn
/* Make a logical link from the next following insn
...
@@ -1915,6 +1915,8 @@ mark_set_1 (needed, dead, x, insn, significant)
...
@@ -1915,6 +1915,8 @@ mark_set_1 (needed, dead, x, insn, significant)
}
}
}
}
}
}
else
if
(
GET_CODE
(
reg
)
==
REG
)
reg_next_use
[
regno
]
=
0
;
/* If this is the last pass and this is a SCRATCH, show it will be dying
/* If this is the last pass and this is a SCRATCH, show it will be dying
here and count it. */
here and count 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