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
6d337bba
Commit
6d337bba
authored
Mar 09, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(record_asm_reg_life): Cast class to int for indexing.
From-SVN: r3682
parent
aa7a5913
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
gcc/reg-stack.c
+1
-1
No files found.
gcc/reg-stack.c
View file @
6d337bba
...
@@ -817,7 +817,7 @@ record_asm_reg_life (insn, regstack, operands, constraints,
...
@@ -817,7 +817,7 @@ record_asm_reg_life (insn, regstack, operands, constraints,
bzero
(
reg_used_as_output
,
sizeof
(
reg_used_as_output
));
bzero
(
reg_used_as_output
,
sizeof
(
reg_used_as_output
));
for
(
i
=
0
;
i
<
n_outputs
;
i
++
)
for
(
i
=
0
;
i
<
n_outputs
;
i
++
)
if
(
STACK_REG_P
(
operands
[
i
]))
if
(
STACK_REG_P
(
operands
[
i
]))
if
(
reg_class_size
[
operand_class
[
i
]]
!=
1
)
if
(
reg_class_size
[
(
int
)
operand_class
[
i
]]
!=
1
)
{
{
error_for_asm
error_for_asm
(
insn
,
"Output constraint %d must specify a single register"
,
i
);
(
insn
,
"Output constraint %d must specify a single register"
,
i
);
...
...
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