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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [compat/] [struct-complex-1_x.c] - Blame information for rev 867

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

Line No. Rev Author Line
1 149 jeremybenn
/* { dg-options "-O" } */
2
 
3
#ifdef __x86_64__
4
#include "struct-complex-1.h"
5
 
6
struct st st1;
7
struct stc st2;
8
 
9
extern void foo ();
10
extern void bar ();
11
 
12
int
13
struct_complex_1_x ()
14
{
15
  st1.s1 = 1;
16
  st1.s2 = 2;
17
  __real__ st1.x = 2;
18
  __imag__ st1.x = 4;
19
  st2.s1 = 1;
20
  st2.s2 = 2;
21
  st2.x.r = 2;
22
  st2.x.i = 4;
23
  foo (st1);
24
  foo (st2);
25
  bar (st1);
26
  bar (st2);
27
  return 0;
28
}
29
#else
30
int dummy_x;
31
#endif
32
 

powered by: WebSVN 2.1.0

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