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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [vect/] [pr34407.c] - Rev 801

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

/* { dg-do compile } */
 
extern int ReadBlobByte (void);
 
void ReadRLEImage (unsigned char *p)
{
  unsigned char background_color[4] = { 0, 1, 2, 3 };
  long j;
 
  unsigned long number_planes = ReadBlobByte();
 
  for (j = 0; j < (long) number_planes; j++)
    *p++ = background_color[j];
}
 
/* { dg-final { cleanup-tree-dump "vect" } } */
 

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

powered by: WebSVN 2.1.0

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