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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [torture/] [pr49603.c] - Blame information for rev 754

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
 
3
struct gl_visual {
4
    float AlphaScale;
5
};
6
struct gl_context {
7
    struct gl_visual *Visual;
8
};
9
void quickdraw_rgb( struct gl_context * ctx,
10
                    int width, int height)
11
{
12
  int i, j;
13
  unsigned char alpha[1600];
14
  for (j=0; j<width; j++)
15
    alpha[j] = (int) ctx->Visual->AlphaScale;
16
  for (i=0; i<height; i++)
17
    foo( alpha);
18
}
19
 

powered by: WebSVN 2.1.0

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