Commit f7686428 by Nathan Sidwell Committed by Nathan Sidwell

* gcc.dg/sso/dump.h: Force IO to be putchar function call on nvptx.

From-SVN: r230810
parent a4fb29bc
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
......
#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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment