diff options
author | olegendo <olegendo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-12-06 10:40:53 +0000 |
---|---|---|
committer | olegendo <olegendo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-12-06 10:40:53 +0000 |
commit | 098f44bcc537e52bb5436cb6599346391f3d77b3 (patch) | |
tree | c0e9759f8814e01c08b304350c8e577840c81f77 /gcc/cp | |
parent | b23e5d4912c4253005b0585e0090eed66a923dc2 (diff) | |
download | gcc-098f44bcc537e52bb5436cb6599346391f3d77b3.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205733 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp')
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/decl2.c | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 16b6aa00240..e6828716e0d 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2013-12-06 Oleg Endo <olegendo@gcc.gnu.org> + + * decl2.c: Remove struct tags when referring to class varpool_node. + 2013-12-05 Jason Merrill <jason@redhat.com> PR c++/59044 diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c index 0e37a5d246c..e5b98b13a36 100644 --- a/gcc/cp/decl2.c +++ b/gcc/cp/decl2.c @@ -1749,7 +1749,7 @@ maybe_make_one_only (tree decl) if (VAR_P (decl)) { - struct varpool_node *node = varpool_node_for_decl (decl); + varpool_node *node = varpool_node_for_decl (decl); DECL_COMDAT (decl) = 1; /* Mark it needed so we don't forget to emit it. */ node->forced_by_abi = true; @@ -1871,7 +1871,7 @@ mark_needed (tree decl) } else if (TREE_CODE (decl) == VAR_DECL) { - struct varpool_node *node = varpool_node_for_decl (decl); + varpool_node *node = varpool_node_for_decl (decl); /* C++ frontend use mark_decl_references to force COMDAT variables to be output that might appear dead otherwise. */ node->forced_by_abi = true; @@ -1920,7 +1920,7 @@ maybe_emit_vtables (tree ctype) tree vtbl; tree primary_vtbl; int needed = 0; - struct varpool_node *current = NULL, *last = NULL; + varpool_node *current = NULL, *last = NULL; /* If the vtables for this class have already been emitted there is nothing more to do. */ @@ -3466,7 +3466,7 @@ one_static_initialization_or_destruction (tree decl, tree init, bool initp) finish_expr_stmt (init); if (flag_sanitize & SANITIZE_ADDRESS) { - struct varpool_node *vnode = varpool_get_node (decl); + varpool_node *vnode = varpool_get_node (decl); if (vnode) vnode->dynamically_initialized = 1; } |