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
1b0086cc
Commit
1b0086cc
authored
14 years ago
by
Jan Hubicka
Committed by
Jan Hubicka
14 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* tree-ssa-ccp.c (fold_const_aggregate_ref): Do not check STATIC flag.
From-SVN: r164198
parent
6611da37
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
gcc/ChangeLog
+4
-0
gcc/tree-ssa-ccp.c
+3
-6
No files found.
gcc/ChangeLog
View file @
1b0086cc
2010-09-10 Jan Hubicka <jh@suse.cz>
* tree-ssa-ccp.c (fold_const_aggregate_ref): Do not check STATIC flag.
2010-09-10 Richard Guenther <rguenther@suse.de>
* tree.c (make_vector_type): Do not set TYPE_DEBUG_REPRESENTATION_TYPE.
...
...
This diff is collapsed.
Click to expand it.
gcc/tree-ssa-ccp.c
View file @
1b0086cc
...
...
@@ -1373,8 +1373,7 @@ fold_const_aggregate_ref (tree t)
if
(
ctor
==
NULL_TREE
||
(
TREE_CODE
(
ctor
)
!=
CONSTRUCTOR
&&
TREE_CODE
(
ctor
)
!=
STRING_CST
)
||
!
TREE_STATIC
(
ctor
))
&&
TREE_CODE
(
ctor
)
!=
STRING_CST
))
return
NULL_TREE
;
/* Get the index. If we have an SSA_NAME, try to resolve it
...
...
@@ -1460,8 +1459,7 @@ fold_const_aggregate_ref (tree t)
}
if
(
ctor
==
NULL_TREE
||
TREE_CODE
(
ctor
)
!=
CONSTRUCTOR
||
!
TREE_STATIC
(
ctor
))
||
TREE_CODE
(
ctor
)
!=
CONSTRUCTOR
)
return
NULL_TREE
;
field
=
TREE_OPERAND
(
t
,
1
);
...
...
@@ -1527,8 +1525,7 @@ fold_const_aggregate_ref (tree t)
if
(
ctor
==
NULL_TREE
||
(
TREE_CODE
(
ctor
)
!=
CONSTRUCTOR
&&
TREE_CODE
(
ctor
)
!=
STRING_CST
)
||
!
TREE_STATIC
(
ctor
))
&&
TREE_CODE
(
ctor
)
!=
STRING_CST
))
return
NULL_TREE
;
/* Get the byte offset. */
...
...
This diff is collapsed.
Click to expand it.
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