diff options
author | Oleg Endo <olegendo@gcc.gnu.org> | 2013-12-06 10:40:53 +0000 |
---|---|---|
committer | Oleg Endo <olegendo@gcc.gnu.org> | 2013-12-06 10:40:53 +0000 |
commit | 2c8326a568110fcecb88677b521ef4e3ba4effe9 (patch) | |
tree | c0e9759f8814e01c08b304350c8e577840c81f77 /gcc/cgraphbuild.c | |
parent | 6a5ac314de999025863ed86335d57dd640597577 (diff) | |
download | gcc-2c8326a568110fcecb88677b521ef4e3ba4effe9.zip gcc-2c8326a568110fcecb88677b521ef4e3ba4effe9.tar.gz gcc-2c8326a568110fcecb88677b521ef4e3ba4effe9.tar.bz2 |
asan.c: Remove struct tags when referring to class varpool_node.
* asan.c: Remove struct tags when referring to class varpool_node.
* cgraph.h: Likewise.
* cgraphbuild.c: Likewise.
* cgraphunit.c: Likewise.
* dbxout.c: Likewise.
* dwarf2out.c: Likewise.
* gimple-fold.c: Likewise.
* ipa-devirt.c: Likewise.
* ipa-ref-inline.h: Likewise.
* ipa-ref.h: Likewise.
* ipa-reference.c: Likewise.
* ipa-utils.c: Likewise.
* ipa.c: Likewise.
* lto-cgraph.c: Likewise.
* lto-streamer-out.c: Likewise.
* lto-streamer.h: Likewise.
* passes.c: Likewise.
* toplev.c: Likewise.
* tree-eh.c: Likewise.
* tree-emutls.c: Likewise.
* tree-pass.h: Likewise.
* tree-ssa-structalias.c: Likewise.
* tree-vectorizer.c: Likewise.
* tree.c: Likewise.
* varasm.c: Likewise.
* varpool.c: Likewise.
* cp/decl2.c: Remove struct tags when referring to class varpool_node.
* lto/lto.c: Remove struct tags when referring to class varpool_node.
* lto/lto-partition.c: Likewise.
* lto/lto-symtab.c: Likewise.
From-SVN: r205733
Diffstat (limited to 'gcc/cgraphbuild.c')
-rw-r--r-- | gcc/cgraphbuild.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/cgraphbuild.c b/gcc/cgraphbuild.c index 9a63982..bd5a78d 100644 --- a/gcc/cgraphbuild.c +++ b/gcc/cgraphbuild.c @@ -44,7 +44,7 @@ along with GCC; see the file COPYING3. If not see struct record_reference_ctx { bool only_vars; - struct varpool_node *varpool_node; + class varpool_node *varpool_node; }; /* Walk tree and record all calls and references to functions/variables. @@ -89,7 +89,7 @@ record_reference (tree *tp, int *walk_subtrees, void *data) if (TREE_CODE (decl) == VAR_DECL) { - struct varpool_node *vnode = varpool_node_for_decl (decl); + varpool_node *vnode = varpool_node_for_decl (decl); ipa_record_reference (ctx->varpool_node, vnode, IPA_REF_ADDR, NULL); @@ -128,7 +128,7 @@ record_type_list (struct cgraph_node *node, tree list) type = TREE_OPERAND (type, 0); if (TREE_CODE (type) == VAR_DECL) { - struct varpool_node *vnode = varpool_node_for_decl (type); + varpool_node *vnode = varpool_node_for_decl (type); ipa_record_reference (node, vnode, IPA_REF_ADDR, NULL); @@ -238,7 +238,7 @@ mark_address (gimple stmt, tree addr, void *data) else if (addr && TREE_CODE (addr) == VAR_DECL && (TREE_STATIC (addr) || DECL_EXTERNAL (addr))) { - struct varpool_node *vnode = varpool_node_for_decl (addr); + varpool_node *vnode = varpool_node_for_decl (addr); ipa_record_reference ((symtab_node *)data, vnode, @@ -267,7 +267,7 @@ mark_load (gimple stmt, tree t, void *data) else if (t && TREE_CODE (t) == VAR_DECL && (TREE_STATIC (t) || DECL_EXTERNAL (t))) { - struct varpool_node *vnode = varpool_node_for_decl (t); + varpool_node *vnode = varpool_node_for_decl (t); ipa_record_reference ((symtab_node *)data, vnode, @@ -285,7 +285,7 @@ mark_store (gimple stmt, tree t, void *data) if (t && TREE_CODE (t) == VAR_DECL && (TREE_STATIC (t) || DECL_EXTERNAL (t))) { - struct varpool_node *vnode = varpool_node_for_decl (t); + varpool_node *vnode = varpool_node_for_decl (t); ipa_record_reference ((symtab_node *)data, vnode, @@ -426,7 +426,7 @@ void record_references_in_initializer (tree decl, bool only_vars) { struct pointer_set_t *visited_nodes = pointer_set_create (); - struct varpool_node *node = varpool_node_for_decl (decl); + varpool_node *node = varpool_node_for_decl (decl); struct record_reference_ctx ctx = {false, NULL}; ctx.varpool_node = node; |