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
f2878c6b
Commit
f2878c6b
authored
32 years ago
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(expand_expr): For COMPONENT_REF, don't force_reg op0 if it is BLKmode.
From-SVN: r3905
parent
35523fce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
gcc/expr.c
+1
-1
No files found.
gcc/expr.c
View file @
f2878c6b
...
...
@@ -3854,7 +3854,7 @@ expand_expr (exp, target, tmode, modifier)
if
(
CONSTANT_P
(
op0
))
{
enum
machine_mode
mode
=
TYPE_MODE
(
TREE_TYPE
(
tem
));
if
(
LEGITIMATE_CONSTANT_P
(
op0
))
if
(
mode
!=
BLKmode
&&
LEGITIMATE_CONSTANT_P
(
op0
))
op0
=
force_reg
(
mode
,
op0
);
else
op0
=
validize_mem
(
force_const_mem
(
mode
,
op0
));
...
...
This diff is collapsed.
Click to expand 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