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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [builtins/] [lib/] [bfill.c] - Blame information for rev 774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 688 jeremybenn
extern int inside_main;
2
 
3
__attribute__ ((__noinline__))
4
void
5
bfill (void *s, __SIZE_TYPE__ n, int ch)
6
{
7
  char *p;
8
 
9
  for (p = s; n-- > 0; p++)
10
    *p = ch;
11
 
12
#ifdef __OPTIMIZE__
13
  if (inside_main)
14
    abort ();
15
#endif
16
}

powered by: WebSVN 2.1.0

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