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
61cb205c
Commit
61cb205c
authored
Oct 28, 2001
by
Richard Kenner
Committed by
Richard Kenner
Oct 28, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* expr.c (store_constructor_field): Only call adjust_address on MEM.
From-SVN: r46585
parent
9591d210
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
6 deletions
+11
-6
gcc/ChangeLog
+4
-0
gcc/expr.c
+7
-6
No files found.
gcc/ChangeLog
View file @
61cb205c
Sun
Oct
28
09
:
59
:
54
2001
Richard
Kenner
<
kenner
@vlsi1
.
ultra
.
nyu
.
edu
>
*
expr
.
c
(
store_constructor_field
)
:
Only
call
adjust_address
on
MEM
.
Sun
Oct
28
16
:
48
:
09
CET
2001
Jan
Hubicka
<
jh
@suse
.
cz
>
Sun
Oct
28
16
:
48
:
09
CET
2001
Jan
Hubicka
<
jh
@suse
.
cz
>
*
genrecog
.
c
(
write_switch
)
:
Output
if
before
switch
for
*
genrecog
.
c
(
write_switch
)
:
Output
if
before
switch
for
...
...
gcc/expr.c
View file @
61cb205c
...
@@ -4472,12 +4472,13 @@ store_constructor_field (target, bitsize, bitpos,
...
@@ -4472,12 +4472,13 @@ store_constructor_field (target, bitsize, bitpos,
generate unnecessary clear instructions anyways. */
generate unnecessary clear instructions anyways. */
&&
(
bitpos
==
0
||
GET_CODE
(
target
)
==
MEM
))
&&
(
bitpos
==
0
||
GET_CODE
(
target
)
==
MEM
))
{
{
target
if
(
GET_CODE
(
target
)
==
MEM
)
=
adjust_address
(
target
,
target
GET_MODE
(
target
)
==
BLKmode
=
adjust_address
(
target
,
||
0
!=
(
bitpos
GET_MODE
(
target
)
==
BLKmode
%
GET_MODE_ALIGNMENT
(
GET_MODE
(
target
)))
||
0
!=
(
bitpos
?
BLKmode
:
VOIDmode
,
bitpos
/
BITS_PER_UNIT
);
%
GET_MODE_ALIGNMENT
(
GET_MODE
(
target
)))
?
BLKmode
:
VOIDmode
,
bitpos
/
BITS_PER_UNIT
);
/* Show the alignment may no longer be what it was and update the alias
/* Show the alignment may no longer be what it was and update the alias
...
...
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