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
dd1db5ec
Commit
dd1db5ec
authored
Nov 27, 1999
by
Richard Kenner
Committed by
Richard Kenner
Nov 27, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* expr.c (store_constructor): Don't clobber TARGET if CLEARED.
From-SVN: r30676
parent
ac51c4e3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
gcc/ChangeLog
+2
-0
gcc/expr.c
+4
-3
No files found.
gcc/ChangeLog
View file @
dd1db5ec
Sat
Nov
27
08
:
38
:
26
1999
Richard
Kenner
<
kenner
@vlsi1
.
ultra
.
nyu
.
edu
>
Sat
Nov
27
08
:
38
:
26
1999
Richard
Kenner
<
kenner
@vlsi1
.
ultra
.
nyu
.
edu
>
*
expr
.
c
(
store_constructor
)
:
Don
'
t
clobber
TARGET
if
CLEARED
.
*
combine
.
c
(
try_combine
)
:
Add
code
to
try
to
merge
a
set
of
a
*
combine
.
c
(
try_combine
)
:
Add
code
to
try
to
merge
a
set
of
a
two
-
word
pseudo
to
a
constant
with
a
setting
of
one
of
those
words
two
-
word
pseudo
to
a
constant
with
a
setting
of
one
of
those
words
to
a
constant
.
to
a
constant
.
...
...
gcc/expr.c
View file @
dd1db5ec
...
@@ -4088,8 +4088,9 @@ store_constructor (exp, target, align, cleared)
...
@@ -4088,8 +4088,9 @@ store_constructor (exp, target, align, cleared)
register
tree
elt
;
register
tree
elt
;
/* Inform later passes that the whole union value is dead. */
/* Inform later passes that the whole union value is dead. */
if
(
TREE_CODE
(
type
)
==
UNION_TYPE
if
((
TREE_CODE
(
type
)
==
UNION_TYPE
||
TREE_CODE
(
type
)
==
QUAL_UNION_TYPE
)
||
TREE_CODE
(
type
)
==
QUAL_UNION_TYPE
)
&&
!
cleared
)
{
{
emit_insn
(
gen_rtx_CLOBBER
(
VOIDmode
,
target
));
emit_insn
(
gen_rtx_CLOBBER
(
VOIDmode
,
target
));
...
@@ -4125,7 +4126,7 @@ store_constructor (exp, target, align, cleared)
...
@@ -4125,7 +4126,7 @@ store_constructor (exp, target, align, cleared)
cleared
=
1
;
cleared
=
1
;
}
}
else
else
if
(
!
cleared
)
/* Inform later passes that the old value is dead. */
/* Inform later passes that the old value is dead. */
emit_insn
(
gen_rtx_CLOBBER
(
VOIDmode
,
target
));
emit_insn
(
gen_rtx_CLOBBER
(
VOIDmode
,
target
));
...
...
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