blob: 16a46c817f463440d7e61bb3e341c0c9ab3349cc [file] [log] [blame]
/* { dg-do compile { target lp64 } } */
/* { dg-require-effective-target powerpc_p9vector_ok } */
/* { dg-options "-mdejagnu-cpu=power9 -Og" } */
/* PR target/81348: Compiler died in doing short->float conversion due to using
the wrong register in a define_split. */
int a;
short b;
float ***c;
void d(void)
{
int e = 3;
if (a)
e = b;
***c = e;
}
/* { dg-final { scan-assembler {\mlha\M} } } */
/* { dg-final { scan-assembler {\mmtvsrwa\M} } } */