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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [libmudflap/] [testsuite/] [libmudflap.c/] [pass11-frag.c] - Diff between revs 275 and 338

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 275 Rev 338
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <string.h>
#include <string.h>
int main ()
int main ()
{
{
int i = 10;
int i = 10;
char *x = (char *) malloc (i * sizeof (char));
char *x = (char *) malloc (i * sizeof (char));
 
 
while (--i)
while (--i)
{
{
  ++x;
  ++x;
  *x = 0;
  *x = 0;
}
}
return 0;
return 0;
}
}
 
 

powered by: WebSVN 2.1.0

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