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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [pr36991.c] - Rev 826

Compare with Previous | Blame | View Log

/* PR tree-optimization/36991 */
/* { dg-do compile } */
/* { dg-options "-O2" } */
 
typedef float V __attribute__ ((vector_size (16)));
typedef union { V v[4][4]; } U;
 
void
foo (float x, float y, U *z)
{
  z->v[1][0] = z->v[0][1] = (V) { x, y, 0, 0 };
}
 

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.