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
c6c2314f
Commit
c6c2314f
authored
Mar 20, 2014
by
Eric Botcazou
Committed by
Eric Botcazou
Mar 20, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* expr.c (expand_expr_real_1): Remove outdated comment.
From-SVN: r208740
parent
7b8fda08
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
12 deletions
+9
-12
gcc/ChangeLog
+4
-0
gcc/expr.c
+5
-12
No files found.
gcc/ChangeLog
View file @
c6c2314f
2014-03-20 Eric Botcazou <ebotcazou@adacore.com>
* expr.c (expand_expr_real_1): Remove outdated comment.
2014-03-20 Jakub Jelinek <jakub@redhat.com>
PR middle-end/60597
...
...
gcc/expr.c
View file @
c6c2314f
...
...
@@ -1993,7 +1993,6 @@ emit_group_store (rtx orig_dst, rtx src, tree type ATTRIBUTE_UNUSED, int ssize)
/* It is unclear if we can ever reach here, but we may as well handle
it. Allocate a temporary, and split this into a store/load to/from
the temporary. */
temp
=
assign_stack_temp
(
GET_MODE
(
dst
),
ssize
);
emit_group_store
(
temp
,
src
,
type
,
ssize
);
emit_group_load
(
dst
,
temp
,
type
,
ssize
);
...
...
@@ -10242,19 +10241,13 @@ expand_expr_real_1 (tree exp, rtx target, enum machine_mode tmode,
/* If the result type is BLKmode, store the data into a temporary
of the appropriate type, but with the mode corresponding to the
mode for the data we have (op0's mode). It's tempting to make
this a constant type, since we know it's only being stored once,
but that can cause problems if we are taking the address of this
COMPONENT_REF because the MEM of any reference via that address
will have flags corresponding to the type, which will not
necessarily be constant. */
mode for the data we have (op0's mode). */
if
(
mode
==
BLKmode
)
{
rtx
new_rtx
;
new_rtx
=
assign_stack_temp_for_type
(
ext_mode
,
GET_MODE_BITSIZE
(
ext_mode
),
type
);
rtx
new_rtx
=
assign_stack_temp_for_type
(
ext_mode
,
GET_MODE_BITSIZE
(
ext_mode
),
type
);
emit_move_insn
(
new_rtx
,
op0
);
op0
=
copy_rtx
(
new_rtx
);
PUT_MODE
(
op0
,
BLKmode
);
...
...
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