URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [vect/] [pr49318.c] - Rev 801
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-require-effective-target vect_int } */ /* { dg-require-effective-target vect_float } */ typedef enum { GL_FALSE } GLenum; typedef unsigned char GLboolean; typedef int GLint; typedef unsigned int GLuint; typedef float GLfloat; typedef double GLdouble; typedef struct gl_context GLcontext; struct gl_context { GLfloat TextureMatrix[16]; GLenum Primitive; }; void gl_GetDoublev( GLcontext *ctx, GLenum pname, GLdouble *params ) { GLuint i; for (i=0; i<16; i++) params[i] = (GLint) ctx->TextureMatrix[i]; } /* { dg-final { cleanup-tree-dump "vect" } } */
Go to most recent revision | Compare with Previous | Blame | View Log