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
* expmed.c (flip_storage_order): Deal with complex modes specially.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
pr38969.c
blob
328bdf4474b6c46cfbbe5b4614d04850d21bdbd5
1
__complex__
float
2
__attribute__
((
noinline
))
foo
(
__complex__
float
x
)
3
{
4
return
x
;
5
}
6
7
__complex__
float
8
__attribute__
((
noinline
))
bar
(
__complex__
float
x
)
9
{
10
return
foo
(
x
);
11
}
12
13
int
main
()
14
{
15
__complex__
float
a
,
b
;
16
__real__ a
=
9
;
17
__imag__ a
=
42
;
18
19
b
=
bar
(
a
);
20
21
if
(
a
!=
b
)
22
abort
();
23
24
return
0
;
25
}