OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1043a59
)
move declaration to top of block
author
jason
<jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 Dec 2012 05:13:01 +0000
(
05:13
+0000)
committer
jason
<jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 Dec 2012 05:13:01 +0000
(
05:13
+0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194287
138bc75d
-0d04-0410-961f-
82ee72b054a4
gcc/tree.c
patch
|
blob
|
history
diff --git
a/gcc/tree.c
b/gcc/tree.c
index
76ce5b3
..
d7124ba
100644
(file)
--- a/
gcc/tree.c
+++ b/
gcc/tree.c
@@
-7409,10
+7409,10
@@
build_array_type_1 (tree elt_type, tree index_type, bool shared)
if (shared)
{
+ tree old_t = t;
hashval_t hashcode = iterative_hash_object (TYPE_HASH (elt_type), 0);
if (index_type)
hashcode = iterative_hash_object (TYPE_HASH (index_type), hashcode);
- tree old_t = t;
t = type_hash_canon (hashcode, t);
if (t != old_t)
/* Lay it out again in case the element type has been completed since