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
4079e525
Commit
4079e525
authored
Dec 29, 1995
by
Per Bothner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* stmt.c (expand_asm_operands): Use new assign_temp function.
From-SVN: r10901
parent
e99a0394
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
12 deletions
+2
-12
gcc/stmt.c
+2
-12
No files found.
gcc/stmt.c
View file @
4079e525
...
@@ -1477,15 +1477,7 @@ expand_asm_operands (string, outputs, inputs, clobbers, vol, filename, line)
...
@@ -1477,15 +1477,7 @@ expand_asm_operands (string, outputs, inputs, clobbers, vol, filename, line)
}
}
else
else
{
{
if
(
TYPE_MODE
(
type
)
==
BLKmode
)
output_rtx
[
i
]
=
assign_temp
(
type
,
0
,
0
);
{
output_rtx
[
i
]
=
assign_stack_temp
(
BLKmode
,
int_size_in_bytes
(
type
),
0
);
MEM_IN_STRUCT_P
(
output_rtx
[
i
])
=
AGGREGATE_TYPE_P
(
type
);
}
else
output_rtx
[
i
]
=
gen_reg_rtx
(
TYPE_MODE
(
type
));
TREE_VALUE
(
tail
)
=
make_tree
(
type
,
output_rtx
[
i
]);
TREE_VALUE
(
tail
)
=
make_tree
(
type
,
output_rtx
[
i
]);
}
}
}
}
...
@@ -1585,10 +1577,8 @@ expand_asm_operands (string, outputs, inputs, clobbers, vol, filename, line)
...
@@ -1585,10 +1577,8 @@ expand_asm_operands (string, outputs, inputs, clobbers, vol, filename, line)
||
GET_CODE
(
XVECEXP
(
body
,
3
,
i
))
==
CONCAT
))
||
GET_CODE
(
XVECEXP
(
body
,
3
,
i
))
==
CONCAT
))
{
{
tree
type
=
TREE_TYPE
(
TREE_VALUE
(
tail
));
tree
type
=
TREE_TYPE
(
TREE_VALUE
(
tail
));
rtx
memloc
=
assign_stack_temp
(
TYPE_MODE
(
type
),
rtx
memloc
=
assign_temp
(
type
,
1
,
1
);
int_size_in_bytes
(
type
),
1
);
MEM_IN_STRUCT_P
(
memloc
)
=
AGGREGATE_TYPE_P
(
type
);
emit_move_insn
(
memloc
,
XVECEXP
(
body
,
3
,
i
));
emit_move_insn
(
memloc
,
XVECEXP
(
body
,
3
,
i
));
XVECEXP
(
body
,
3
,
i
)
=
memloc
;
XVECEXP
(
body
,
3
,
i
)
=
memloc
;
}
}
...
...
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