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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [alpha/] [pr42448-2.c] - Blame information for rev 315

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

Line No. Rev Author Line
1 312 jeremybenn
/* { dg-do run } */
2
/* { dg-options "-mcpu=21064 -O0" } */
3
 
4
extern void abort (void);
5
 
6
struct S2180
7
{
8
  char t;
9
  _Complex char u[4];
10
};
11
 
12
struct S2180 s2180;
13
 
14
int
15
main (void)
16
{
17
  volatile struct S2180 x;
18
 
19
  s2180.u[3] = 3 + 4i;
20
 
21
  x.u[3] = s2180.u[3];
22
 
23
  if (x.u[3] != s2180.u[3])
24
    abort ();
25
 
26
  return 0;
27
}

powered by: WebSVN 2.1.0

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