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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [compat/] [struct-complex-1_x.c] - Blame information for rev 708

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

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

powered by: WebSVN 2.1.0

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