diff options
author | Jakub Jelinek <jakub@redhat.com> | 2013-10-30 14:50:25 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2013-10-30 14:50:25 +0100 |
commit | 193ea7bc8c99e217072a11c733bb5f0d47eb72a0 (patch) | |
tree | d6f50be241a781651d8668eee868815c53ed0370 /gcc/c-family/cilk.c | |
parent | ca494b8d783b3a0d6e259789ccd09714adaf3d46 (diff) | |
download | gcc-193ea7bc8c99e217072a11c733bb5f0d47eb72a0.zip gcc-193ea7bc8c99e217072a11c733bb5f0d47eb72a0.tar.gz gcc-193ea7bc8c99e217072a11c733bb5f0d47eb72a0.tar.bz2 |
* cilk.c (create_cilk_helper_decl): Use HOST_WIDE_INT_PRINT_DEC.
From-SVN: r204209
Diffstat (limited to 'gcc/c-family/cilk.c')
-rw-r--r-- | gcc/c-family/cilk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/c-family/cilk.c b/gcc/c-family/cilk.c index 91f10d5..f719d55 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 (); |