missed from last commit

From-SVN: r239343
This commit is contained in:
Alan Modra 2016-08-11 08:42:56 +09:30
parent 2e186411b3
commit 763a282e01
1 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,19 @@
/* { dg-do compile { target { powerpc*-*-* } } } */
/* { dg-require-effective-target powerpc_vsx_ok } */
/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */
/* { dg-options "-mcpu=power8 -O1 -mlra" } */
#pragma pack(1)
struct
{
float f0;
} a;
extern void foo (int);
int
main (void)
{
for (;;)
foo ((int) a.f0);
}