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 | |
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')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cgraphunit.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 258890d..ed5e0c27 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2009-12-03 Richard Guenther <rguenther@suse.de> + + * cgraphunit.c (assemble_thunk): Use DECL_ASSEMBLER_NAME + instead of DECL_NAME for the entry point. + 2009-12-03 Richard Earnshaw <rearnsha@arm.com> * arm/linux-atomic.c (SYNC_LOCK_RELEASE): Place memory barrier 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. */ |