OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr46360.c] - Blame information for rev 688

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 688 jeremybenn
/* PR middle-end/46360 */
2
 
3
__attribute__((gnu_inline, always_inline)) extern inline char *
4
strncpy (char *dest, const char *src, __SIZE_TYPE__ len)
5
{
6
  return __builtin_strncpy (dest, src, len);
7
}
8
 
9
void
10
foo (char *s)
11
{
12
  strncpy (s, "", 0);
13
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.