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
ee249c09
Commit
ee249c09
authored
Mar 23, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(reload): Fix error in last change; compute MODE before it's used.
From-SVN: r6862
parent
ec7a1dd2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
gcc/reload1.c
+7
-5
No files found.
gcc/reload1.c
View file @
ee249c09
...
...
@@ -1142,11 +1142,17 @@ reload (first, global, dumpfile)
new_basic_block_needs
=
1
;
}
mode
=
reload_inmode
[
i
];
if
(
GET_MODE_SIZE
(
reload_outmode
[
i
])
>
GET_MODE_SIZE
(
mode
))
mode
=
reload_outmode
[
i
];
size
=
CLASS_MAX_NREGS
(
class
,
mode
);
/* If this class doesn't want a group determine if
we have a nongroup need or a regular need. */
nongroup_need
=
0
;
if
(
CLASS_MAX_NREGS
(
class
,
mode
)
==
1
)
if
(
size
==
1
)
for
(
j
=
i
+
1
;
j
<
n_reloads
;
j
++
)
if
(
reloads_conflict
(
i
,
j
)
&&
reg_classes_intersect_p
(
class
,
...
...
@@ -1234,10 +1240,6 @@ reload (first, global, dumpfile)
break
;
}
mode
=
reload_inmode
[
i
];
if
(
GET_MODE_SIZE
(
reload_outmode
[
i
])
>
GET_MODE_SIZE
(
mode
))
mode
=
reload_outmode
[
i
];
size
=
CLASS_MAX_NREGS
(
class
,
mode
);
if
(
size
>
1
)
{
enum
machine_mode
other_mode
,
allocate_mode
;
...
...
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