summaryrefslogtreecommitdiff
path: root/gcc/cgraphunit.c
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2010-03-15 06:48:43 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2010-03-15 06:48:43 +0000
commit14267e36f6aef0330adbfd1284d3dba3802f5088 (patch)
tree15a484128350682413b56480efa305ed7f014bf7 /gcc/cgraphunit.c
parent4734edf4bda88edf99bba3319ce2c88ce6daecb0 (diff)
downloadgcc-14267e36f6aef0330adbfd1284d3dba3802f5088.tar.gz
2010-03-15 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 157452 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@157453 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r--gcc/cgraphunit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c
index 399912bfbd5..f4580adbd75 100644
--- a/gcc/cgraphunit.c
+++ b/gcc/cgraphunit.c
@@ -836,6 +836,8 @@ cgraph_analyze_function (struct cgraph_node *node)
current_function_decl = decl;
push_cfun (DECL_STRUCT_FUNCTION (decl));
+ assign_assembler_name_if_neeeded (node->decl);
+
/* Make sure to gimplify bodies only once. During analyzing a
function we lower it, which will require gimplified nested
functions, so we can end up here with an already gimplified