diff options
Diffstat (limited to 'gcc/tree-sra.c')
-rw-r--r-- | gcc/tree-sra.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/tree-sra.c b/gcc/tree-sra.c index 2ddc9349aef..08119eeaf91 100644 --- a/gcc/tree-sra.c +++ b/gcc/tree-sra.c @@ -296,7 +296,7 @@ struct uid_decl_hasher : nofree_ptr_hash <tree_node> inline hashval_t uid_decl_hasher::hash (const tree_node *item) { - return item->decl_minimal.uid; + return item->u.decl_minimal.uid; } /* Return true if the DECL_UID in both trees are equal. */ @@ -304,7 +304,7 @@ uid_decl_hasher::hash (const tree_node *item) inline bool uid_decl_hasher::equal (const tree_node *a, const tree_node *b) { - return (a->decl_minimal.uid == b->decl_minimal.uid); + return (a->u.decl_minimal.uid == b->u.decl_minimal.uid); } /* Set of candidates. */ @@ -317,7 +317,7 @@ static inline tree candidate (unsigned uid) { tree_node t; - t.decl_minimal.uid = uid; + t.u.decl_minimal.uid = uid; return candidates->find_with_hash (&t, static_cast <hashval_t> (uid)); } |