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
Implement C _FloatN, _FloatNx types.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr47968.c
blob
4f33cf1f349fe7b819f515151a6abf342f087423
1
/* { dg-do compile } */
2
/* { dg-options "-w -Wno-psabi" } */
3
4
typedef
__attribute__
((
vector_size
(
16
)))
float
float4
;
5
typedef
__attribute__
((
vector_size
(
16
)))
double
double2
;
6
7
float
foo
(
double2 d2
)
8
{
9
float4 f4
= (
float4
)
d2
;
10
return
*(
float
*) &
f4
;
11
}