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
4c7a0be9
Commit
4c7a0be9
authored
May 01, 1995
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(expand_expr, case SAVE_EXPR): Handle the case where
mode is VOIDmode. From-SVN: r9556
parent
a5894242
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
+6
-1
gcc/expr.c
+6
-1
No files found.
gcc/expr.c
View file @
4c7a0be9
...
...
@@ -4310,6 +4310,8 @@ expand_expr (exp, target, tmode, modifier)
=
assign_stack_temp
(
mode
,
int_size_in_bytes
(
type
),
0
);
MEM_IN_STRUCT_P
(
temp
)
=
AGGREGATE_TYPE_P
(
type
);
}
else
if
(
mode
==
VOIDmode
)
temp
=
const0_rtx
;
else
temp
=
gen_reg_rtx
(
promote_mode
(
type
,
mode
,
&
unsignedp
,
0
));
...
...
@@ -4331,7 +4333,10 @@ expand_expr (exp, target, tmode, modifier)
SUBREG_PROMOTED_UNSIGNED_P
(
temp
)
=
unsignedp
;
}
store_expr
(
TREE_OPERAND
(
exp
,
0
),
temp
,
0
);
if
(
temp
==
const0_rtx
)
expand_expr
(
TREE_OPERAND
(
exp
,
0
),
const0_rtx
,
VOIDmode
,
0
);
else
store_expr
(
TREE_OPERAND
(
exp
,
0
),
temp
,
0
);
}
/* If the mode of SAVE_EXPR_RTL does not match that of the expression, it
...
...
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