repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
gcc.dg
/
compat
/
struct-complex-1_x.c
blob
c77ba33580fcdd833cc78c4fc6ac2598937eb641
1
/* { 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