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
db3ec607
Commit
db3ec607
authored
Dec 16, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(expand_assignment): Fix alignment parm in emit_block_move.
From-SVN: r10781
parent
058e0bb9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
gcc/expr.c
+2
-4
No files found.
gcc/expr.c
View file @
db3ec607
...
@@ -2588,10 +2588,8 @@ expand_assignment (to, from, want_value, suggest_reg)
...
@@ -2588,10 +2588,8 @@ expand_assignment (to, from, want_value, suggest_reg)
to_rtx
=
expand_expr
(
to
,
NULL_RTX
,
VOIDmode
,
0
);
to_rtx
=
expand_expr
(
to
,
NULL_RTX
,
VOIDmode
,
0
);
if
(
GET_MODE
(
to_rtx
)
==
BLKmode
)
if
(
GET_MODE
(
to_rtx
)
==
BLKmode
)
{
emit_block_move
(
to_rtx
,
value
,
expr_size
(
from
),
int
align
=
MIN
(
TYPE_ALIGN
(
TREE_TYPE
(
from
)),
BITS_PER_WORD
);
TYPE_ALIGN
(
TREE_TYPE
(
from
))
/
BITS_PER_WORD
);
emit_block_move
(
to_rtx
,
value
,
expr_size
(
from
),
align
);
}
else
else
emit_move_insn
(
to_rtx
,
value
);
emit_move_insn
(
to_rtx
,
value
);
preserve_temp_slots
(
to_rtx
);
preserve_temp_slots
(
to_rtx
);
...
...
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