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
5a13dfdd
Commit
5a13dfdd
authored
Jul 23, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
entered into RCS
From-SVN: r1676
parent
09927bb0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
gcc/flow.c
+4
-4
No files found.
gcc/flow.c
View file @
5a13dfdd
...
...
@@ -1167,7 +1167,7 @@ propagate_block (old, first, last, final, significant, bnum)
In each element, OFFSET is the byte-number within a regset
for the register described by the element, and BIT is a mask
for that register's bit within the byte. */
register
struct
foo
{
short
offset
;
short
bit
;
}
*
regs_sometimes_live
;
register
struct
sometimes
{
short
offset
;
short
bit
;
}
*
regs_sometimes_live
;
int
sometimes_max
=
0
;
/* This regset has 1 for each reg that we have seen live so far.
It and REGS_SOMETIMES_LIVE are updated together. */
...
...
@@ -1206,7 +1206,7 @@ propagate_block (old, first, last, final, significant, bnum)
maxlive
=
(
regset
)
alloca
(
regset_bytes
);
bcopy
(
old
,
maxlive
,
regset_bytes
);
regs_sometimes_live
=
(
struct
foo
*
)
alloca
(
max_regno
*
sizeof
(
struct
foo
));
=
(
struct
sometimes
*
)
alloca
(
max_regno
*
sizeof
(
struct
sometimes
));
/* Process the regs live at the end of the block.
Enter them in MAXLIVE and REGS_SOMETIMES_LIVE.
...
...
@@ -1427,7 +1427,7 @@ propagate_block (old, first, last, final, significant, bnum)
must not go in a register clobbered by calls.
Find all regs now live and record this for them. */
register
struct
foo
*
p
=
regs_sometimes_live
;
register
struct
sometimes
*
p
=
regs_sometimes_live
;
for
(
i
=
0
;
i
<
sometimes_max
;
i
++
,
p
++
)
if
(
old
[
p
->
offset
]
&
(
1
<<
p
->
bit
))
...
...
@@ -1461,7 +1461,7 @@ propagate_block (old, first, last, final, significant, bnum)
}
{
register
struct
foo
*
p
=
regs_sometimes_live
;
register
struct
sometimes
*
p
=
regs_sometimes_live
;
for
(
i
=
0
;
i
<
sometimes_max
;
i
++
,
p
++
)
{
if
(
old
[
p
->
offset
]
&
((
REGSET_ELT_TYPE
)
1
<<
p
->
bit
))
...
...
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