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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [vmx/] [gcc-bug-1.c] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* { dg-do compile } */
2
#include <altivec.h>
3
typedef struct n_a {
4
  signed char m1;
5
  vector float m2;
6
} n_a;
7
 
8
typedef struct n_b {
9
  signed char m1;
10
  struct n_a m2;
11
} n_b;
12
 
13
extern void f(n_b *);
14
 
15
void initn_b(signed char p1, struct n_a p2)
16
{
17
   n_b _i;
18
  ((_i).m1 = p1, (_i).m2 = p2);
19
  f(&_i);
20
}

powered by: WebSVN 2.1.0

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