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
90d245c5
Commit
90d245c5
authored
Jul 31, 2008
by
Steve Ellcey
Committed by
Steve Ellcey
Jul 31, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* expr.c (expand_assignment): Check for complete type.
From-SVN: r138439
parent
d2d93c32
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
gcc/ChangeLog
+4
-0
gcc/expr.c
+1
-0
No files found.
gcc/ChangeLog
View file @
90d245c5
2008
-
07
-
31
Steve
Ellcey
<
sje
@cup
.
hp
.
com
>
*
expr
.
c
(
expand_assignment
)
:
Check
for
complete
type
.
2008
-
07
-
31
H
.
J
.
Lu
<
hongjiu
.
lu
@intel
.
com
>
PR
debug
/
36977
...
...
gcc/expr.c
View file @
90d245c5
...
...
@@ -4280,6 +4280,7 @@ expand_assignment (tree to, tree from, bool nontemporal)
needs to be done. Handling this in the normal way is safe because no
computation is done before the call. */
if
(
TREE_CODE
(
from
)
==
CALL_EXPR
&&
!
aggregate_value_p
(
from
,
from
)
&&
COMPLETE_TYPE_P
(
TREE_TYPE
(
from
))
&&
TREE_CODE
(
TYPE_SIZE
(
TREE_TYPE
(
from
)))
==
INTEGER_CST
&&
!
((
TREE_CODE
(
to
)
==
VAR_DECL
||
TREE_CODE
(
to
)
==
PARM_DECL
)
&&
REG_P
(
DECL_RTL
(
to
))))
...
...
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