summaryrefslogtreecommitdiff
path: root/gcc/tree-emutls.c
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2014-01-04 17:57:29 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2014-01-04 17:57:29 +0000
commit48ff1d417d4c49525c09b013395e38dda8bd50fe (patch)
treeffb4ea05f14bc936b5dd3681e19b2aa3cee8c3bf /gcc/tree-emutls.c
parent144409bbbdb293946cea105115e0e329f633d333 (diff)
downloadgcc-48ff1d417d4c49525c09b013395e38dda8bd50fe.tar.gz
2014-01-04 Basile Starynkevitch <basile@starynkevitch.net>
{{merge using svnmerge.py with trunk GCC 4.9 svn rev206333 now in stage 3; very unstable, xtramelt-ana-base don't compile anymore...}} git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@206336 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-emutls.c')
-rw-r--r--gcc/tree-emutls.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/tree-emutls.c b/gcc/tree-emutls.c
index 9ba25fc4676..3391cc3e9ae 100644
--- a/gcc/tree-emutls.c
+++ b/gcc/tree-emutls.c
@@ -1,5 +1,5 @@
/* Lower TLS operations to emulation functions.
- Copyright (C) 2006-2013 Free Software Foundation, Inc.
+ Copyright (C) 2006-2014 Free Software Foundation, Inc.
This file is part of GCC.
@@ -373,7 +373,7 @@ emutls_index (tree decl)
static tree
emutls_decl (tree decl)
{
- struct varpool_node *var;
+ varpool_node *var;
unsigned int i;
i = emutls_index (decl);
@@ -435,7 +435,7 @@ gen_emutls_addr (tree decl, struct lower_emutls_data *d)
addr = access_vars[index];
if (addr == NULL)
{
- struct varpool_node *cvar;
+ varpool_node *cvar;
tree cdecl;
gimple x;
@@ -638,7 +638,7 @@ lower_emutls_function_body (struct cgraph_node *node)
create a node for it. */
d.builtin_node = cgraph_get_create_node (d.builtin_decl);
- FOR_EACH_BB (d.bb)
+ FOR_EACH_BB_FN (d.bb, cfun)
{
gimple_stmt_iterator gsi;
unsigned int i, nedge;
@@ -707,10 +707,10 @@ lower_emutls_function_body (struct cgraph_node *node)
Callback for varpool_for_variable_and_aliases. */
static bool
-create_emultls_var (struct varpool_node *var, void *data)
+create_emultls_var (varpool_node *var, void *data)
{
tree cdecl;
- struct varpool_node *cvar;
+ varpool_node *cvar;
cdecl = new_emutls_decl (var->decl,
var->alias && var->analyzed
@@ -743,7 +743,7 @@ create_emultls_var (struct varpool_node *var, void *data)
static unsigned int
ipa_lower_emutls (void)
{
- struct varpool_node *var;
+ varpool_node *var;
struct cgraph_node *func;
bool any_aliases = false;
tree ctor_body = NULL;