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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20021219-1.c] - Blame information for rev 149

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

Line No. Rev Author Line
1 149 jeremybenn
/* PR optimization/8988 */
2
/* Contributed by Kevin Easton */
3
 
4
void foo(char *p1, char **p2)
5
{}
6
 
7
int main(void)
8
{
9
  char str[] = "foo { xx }";
10
  char *ptr = str + 5;
11
 
12
  foo(ptr, &ptr);
13
 
14
  while (*ptr && (*ptr == 13 || *ptr == 32))
15
    ptr++;
16
 
17
  return 0;
18
}

powered by: WebSVN 2.1.0

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