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
[testsuite] require sqrt_insn effective target where needed
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
powerpc
/
pr71680.c
blob
ce54b9cccf3c347cab453ae837ccdfa0f006492a
1
/* { dg-do compile { target { powerpc*-*-* } } } */
2
/* { dg-require-effective-target powerpc_vsx_ok } */
3
/* { dg-options "-mdejagnu-cpu=power8 -O1" } */
4
5
#pragma pack(1)
6
struct
7
{
8
float
f0
;
9
}
a
;
10
11
extern
void
foo
(
int
);
12
13
int
14
main
(
void
)
15
{
16
for
(;;)
17
foo
((
int
)
a
.
f0
);
18
}