blob: 01a9ab6924e1769280b7151629d43d7eb3636166 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-skip-if "-mpure-code supports M-profile without Neon only" { *-*-* } { "-mpure-code" } } */
/* { dg-require-effective-target arm_thumb2_ok } */
/* { dg-options "-O1 -mfp16-format=ieee -march=armv7-a -mfpu=neon -mthumb -mrestrict-it" } */
__fp16 h0 = -1.0;
void
f (__fp16 *p)
{
h0 = 1.0;
}