mirror of git://gcc.gnu.org/git/gcc.git
* cilk.c (create_cilk_helper_decl): Use HOST_WIDE_INT_PRINT_DEC.
From-SVN: r204209
This commit is contained in:
parent
ca494b8d78
commit
193ea7bc8c
|
|
@ -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>
|
2013-10-29 Balaji V. Iyer <balaji.v.iyer@intel.com>
|
||||||
|
|
||||||
* c-common.c (c_common_reswords[]): Added _Cilk_spawn and _Cilk_sync
|
* c-common.c (c_common_reswords[]): Added _Cilk_spawn and _Cilk_sync
|
||||||
|
|
|
||||||
|
|
@ -287,9 +287,9 @@ create_cilk_helper_decl (struct wrapper_data *wd)
|
||||||
{
|
{
|
||||||
char name[20];
|
char name[20];
|
||||||
if (wd->type == CILK_BLOCK_FOR)
|
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)
|
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
|
else
|
||||||
gcc_unreachable ();
|
gcc_unreachable ();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue