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
ba9ce455
Commit
ba9ce455
authored
Dec 22, 2004
by
Richard Kenner
Committed by
Richard Henderson
Dec 22, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* tree-sra.c (type_can_be_decomposed_p): Reject variable sized types.
From-SVN: r92494
parent
821c5063
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
gcc/ChangeLog
+4
-0
gcc/tree-sra.c
+2
-1
No files found.
gcc/ChangeLog
View file @
ba9ce455
2004
-
12
-
22
Richard
Kenner
<
kenner
@
vlsi1
.
ultra
.
nyu
.
edu
>
*
tree
-
sra
.
c
(
type_can_be_decomposed_p
):
Reject
variable
sized
types
.
2004
-
12
-
22
Mark
Mitchell
<
mark
@
codesourcery
.
com
>
2004
-
12
-
22
Mark
Mitchell
<
mark
@
codesourcery
.
com
>
*
Makefile
.
in
(
install
-
common
):
Remove
special
-
case
code
for
when
*
Makefile
.
in
(
install
-
common
):
Remove
special
-
case
code
for
when
...
...
gcc/tree-sra.c
View file @
ba9ce455
...
@@ -184,7 +184,8 @@ type_can_be_decomposed_p (tree type)
...
@@ -184,7 +184,8 @@ type_can_be_decomposed_p (tree type)
return
false
;
return
false
;
/* The type must have a definite nonzero size. */
/* The type must have a definite nonzero size. */
if
(
TYPE_SIZE
(
type
)
==
NULL
||
integer_zerop
(
TYPE_SIZE
(
type
)))
if
(
TYPE_SIZE
(
type
)
==
NULL
||
TREE_CODE
(
TYPE_SIZE
(
type
))
!=
INTEGER_CST
||
integer_zerop
(
TYPE_SIZE
(
type
)))
goto
fail
;
goto
fail
;
/* The type must be a non-union aggregate. */
/* The type must be a non-union aggregate. */
...
...
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