From 193ea7bc8c99e217072a11c733bb5f0d47eb72a0 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Wed, 30 Oct 2013 14:50:25 +0100 Subject: [PATCH] * cilk.c (create_cilk_helper_decl): Use HOST_WIDE_INT_PRINT_DEC. From-SVN: r204209 --- gcc/c-family/ChangeLog | 4 ++++ gcc/c-family/cilk.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index b9fed631057..ff1ce5b6bfd 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,7 @@ +2013-10-30 Jakub Jelinek + + * cilk.c (create_cilk_helper_decl): Use HOST_WIDE_INT_PRINT_DEC. + 2013-10-29 Balaji V. Iyer * c-common.c (c_common_reswords[]): Added _Cilk_spawn and _Cilk_sync diff --git a/gcc/c-family/cilk.c b/gcc/c-family/cilk.c index 91f10d5f283..f719d551869 100644 --- a/gcc/c-family/cilk.c +++ b/gcc/c-family/cilk.c @@ -287,9 +287,9 @@ create_cilk_helper_decl (struct wrapper_data *wd) { char name[20]; if (wd->type == CILK_BLOCK_FOR) - sprintf (name, "_cilk_for_%ld", cilk_wrapper_count++); + sprintf (name, "_cilk_for_" HOST_WIDE_INT_PRINT_DEC, cilk_wrapper_count++); else if (wd->type == CILK_BLOCK_SPAWN) - sprintf (name, "_cilk_spn_%ld", cilk_wrapper_count++); + sprintf (name, "_cilk_spn_" HOST_WIDE_INT_PRINT_DEC, cilk_wrapper_count++); else gcc_unreachable ();