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
f2420d0b
Commit
f2420d0b
authored
Mar 12, 1996
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(expand_expr, case COMPONENT_REF): For unaligned object in
an aligned union, delete check for EXPAND_SUM. From-SVN: r11519
parent
2af1bac8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
gcc/expr.c
+3
-2
No files found.
gcc/expr.c
View file @
f2420d0b
...
@@ -5334,11 +5334,12 @@ expand_expr (exp, target, tmode, modifier)
...
@@ -5334,11 +5334,12 @@ expand_expr (exp, target, tmode, modifier)
an integer-mode (e.g., SImode) object. Handle this case
an integer-mode (e.g., SImode) object. Handle this case
by doing the extract into an object as wide as the field
by doing the extract into an object as wide as the field
(which we know to be the width of a basic mode), then
(which we know to be the width of a basic mode), then
storing into memory, and changing the mode to BLKmode. */
storing into memory, and changing the mode to BLKmode.
If we ultimately want the address (EXPAND_CONST_ADDRESS or
EXPAND_INITIALIZER), then we must not copy to a temporary. */
if
(
mode1
==
VOIDmode
if
(
mode1
==
VOIDmode
||
GET_CODE
(
op0
)
==
REG
||
GET_CODE
(
op0
)
==
SUBREG
||
GET_CODE
(
op0
)
==
REG
||
GET_CODE
(
op0
)
==
SUBREG
||
(
modifier
!=
EXPAND_CONST_ADDRESS
||
(
modifier
!=
EXPAND_CONST_ADDRESS
&&
modifier
!=
EXPAND_SUM
&&
modifier
!=
EXPAND_INITIALIZER
&&
modifier
!=
EXPAND_INITIALIZER
&&
((
mode1
!=
BLKmode
&&
!
direct_load
[(
int
)
mode1
])
&&
((
mode1
!=
BLKmode
&&
!
direct_load
[(
int
)
mode1
])
/* If the field isn't aligned enough to fetch as a memref,
/* If the field isn't aligned enough to fetch as a memref,
...
...
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