aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXinliang David Li <davidxl@google.com>2011-04-19 00:00:21 +0000
committerXinliang David Li <davidxl@google.com>2011-04-19 00:00:21 +0000
commit05d847e2bf59f688def2d0111e65f116ab3b04eb (patch)
tree2e72be1ce5abada458e1777010df0276447c448d
parentf075b141d9810004ccebf6e426354b1f4a954da4 (diff)
Fix xalanbmk unsat problem
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lw-ipo@172683 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/l-ipo.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/l-ipo.c b/gcc/l-ipo.c
index 18b4d8752f1..4da17607f10 100644
--- a/gcc/l-ipo.c
+++ b/gcc/l-ipo.c
@@ -1775,6 +1775,10 @@ process_module_scope_static_var (struct varpool_node *vnode)
DECL_EXTERNAL (decl) = 1;
TREE_STATIC (decl) = 0;
DECL_INITIAL (decl) = NULL;
+ if (DECL_CONTEXT (decl))
+ {
+ DECL_ASSEMBLER_NAME (decl);
+ }
DECL_CONTEXT (decl) = NULL;
}
}