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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 688 jeremybenn
/* PR tree-optimization/47265 */
2
 
3
struct S
4
{
5
  char a[3];
6
  char b[3];
7
};
8
 
9
void
10
bar (char *dst, const char *src, unsigned n)
11
{
12
  while (n--)
13
    *dst++ = *src ? *src++ : ' ';
14
}
15
 
16
void
17
foo (struct S *s)
18
{
19
  bar (s->a, s->b, 3);
20
}

powered by: WebSVN 2.1.0

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