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
f7686428
Commit
f7686428
authored
Nov 24, 2015
by
Nathan Sidwell
Committed by
Nathan Sidwell
Nov 24, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.dg/sso/dump.h: Force IO to be putchar function call on nvptx.
From-SVN: r230810
parent
a4fb29bc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletions
+12
-1
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.dg/sso/dump.h
+8
-1
No files found.
gcc/testsuite/ChangeLog
View file @
f7686428
2015-11-24 Nathan Sidwell <nathan@acm.org>
* gcc.dg/sso/dump.h: Force IO to be putchar function call on nvptx.
2015-11-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
PR rtl-optimization/68381
...
...
gcc/testsuite/gcc.dg/sso/dump.h
View file @
f7686428
#ifdef __nvptx__
/* Force function call. NVPTX's IO is extremely limited. */
#undef putchar
#endif
void
dump
(
void
*
p
,
unsigned
int
len
)
{
const
char
digits
[
17
]
=
"0123456789abcdef"
;
...
...
@@ -14,7 +19,9 @@ void dump (void *p, unsigned int len)
void
put
(
const
char
s
[])
{
fputs
(
s
,
stdout
);
int
i
;
for
(
i
=
0
;
s
[
i
];
i
++
)
putchar
(
s
[
i
]);
}
void
new_line
(
void
)
...
...
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