diff options
author | Richard Guenther <rguenther@suse.de> | 2009-12-03 16:06:03 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2009-12-03 16:06:03 +0000 |
commit | 154885548ccf815024f38df1fbb1ccaddf8c65b7 (patch) | |
tree | e8f7601f44284f5a08424568ad1180997eb4d531 /gcc/cgraphunit.c | |
parent | 762de626f7a5b9d1f8f5c15ec0391297624572ed (diff) | |
download | gcc-154885548ccf815024f38df1fbb1ccaddf8c65b7.zip gcc-154885548ccf815024f38df1fbb1ccaddf8c65b7.tar.gz gcc-154885548ccf815024f38df1fbb1ccaddf8c65b7.tar.bz2 |
cgraphunit.c (assemble_thunk): Use DECL_ASSEMBLER_NAME instead of DECL_NAME for the entry point.
2009-12-03 Richard Guenther <rguenther@suse.de>
* cgraphunit.c (assemble_thunk): Use DECL_ASSEMBLER_NAME
instead of DECL_NAME for the entry point.
From-SVN: r154954
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r-- | gcc/cgraphunit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index 51ead06..345fb67 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -1321,7 +1321,7 @@ assemble_thunk (struct cgraph_node *node) DECL_RESULT (thunk_fndecl) = build_decl (DECL_SOURCE_LOCATION (thunk_fndecl), RESULT_DECL, 0, integer_type_node); - fnname = IDENTIFIER_POINTER (DECL_NAME (thunk_fndecl)); + fnname = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (thunk_fndecl)); /* The back end expects DECL_INITIAL to contain a BLOCK, so we create one. */ |