* cilk.c (create_cilk_helper_decl): Use HOST_WIDE_INT_PRINT_DEC.

From-SVN: r204209
This commit is contained in:
Jakub Jelinek 2013-10-30 14:50:25 +01:00 committed by Jakub Jelinek
parent ca494b8d78
commit 193ea7bc8c
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2013-10-30 Jakub Jelinek <jakub@redhat.com>
* cilk.c (create_cilk_helper_decl): Use HOST_WIDE_INT_PRINT_DEC.
2013-10-29 Balaji V. Iyer <balaji.v.iyer@intel.com>
* c-common.c (c_common_reswords[]): Added _Cilk_spawn and _Cilk_sync

View File

@ -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 ();