Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
193ea7bc
Commit
193ea7bc
authored
Oct 30, 2013
by
Jakub Jelinek
Committed by
Jakub Jelinek
Oct 30, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* cilk.c (create_cilk_helper_decl): Use HOST_WIDE_INT_PRINT_DEC.
From-SVN: r204209
parent
ca494b8d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
gcc/c-family/ChangeLog
+4
-0
gcc/c-family/cilk.c
+2
-2
No files found.
gcc/c-family/ChangeLog
View file @
193ea7bc
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
...
...
gcc/c-family/cilk.c
View file @
193ea7bc
...
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment