diff options
-rw-r--r-- | gcc/ChangeLog.cilkplus | 6 | ||||
-rw-r--r-- | gcc/elem-function-common.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog.cilkplus b/gcc/ChangeLog.cilkplus index 3a6c53b6aca..498e944df67 100644 --- a/gcc/ChangeLog.cilkplus +++ b/gcc/ChangeLog.cilkplus @@ -1,3 +1,9 @@ +2013-09-25 Balaji V. Iyer <balaji.v.iyer@intel.com> + + * elem-function-common.c (rename_elem_fn): Used the mangled name instead + of the original function name to append the elemental function mangling + prefix. + 2013-08-15 Balaji V. Iyer <balaji.v.iyer@intel.com> * cilk.c (create_metadata_label): Make this function non-static. diff --git a/gcc/elem-function-common.c b/gcc/elem-function-common.c index 0ccbe2fb334..04a08e76388 100644 --- a/gcc/elem-function-common.c +++ b/gcc/elem-function-common.c @@ -97,7 +97,7 @@ tree rename_elem_fn (tree decl, const char *suffix) { int length = 0; - const char *fn_name = IDENTIFIER_POINTER (DECL_NAME (decl)); + const char *fn_name = IDENTIFIER_POINTER (decl_assembler_name (decl)); char *new_fn_name; tree new_decl = NULL_TREE; |