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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [vmx/] [gcc-bug-1.c] - Rev 774

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

/* { dg-do compile } */
#include <altivec.h>
typedef struct n_a {
  signed char m1;
  vector float m2;
} n_a;
 
typedef struct n_b {
  signed char m1;
  struct n_a m2;
} n_b;
 
extern void f(n_b *);
 
void initn_b(signed char p1, struct n_a p2)
{
   n_b _i;
  ((_i).m1 = p1, (_i).m2 = p2);
  f(&_i);
}
 

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.