https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69245

ktkachov at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |chrbr at gcc dot gnu.org

--- Comment #2 from ktkachov at gcc dot gnu.org ---
So the fpu given on the command line does not support vfma but the global
variables are enclosed in an fpu pragma that does.
But the fma itself occurs outside the scope of fpu=crypto-neon-fp-armv8.

More C-friendly testcase:
#pragma GCC push_options
#pragma GCC target "fpu=crypto-neon-fp-armv8"
int a, c, d;
float b;
static int fn1 ()
{
  return 0;
}

#pragma GCC pop_options
void fn2 ()
{
  d = b * c + a;
}

interestingly, deleting the definition of fn1 we don't ICE.

Reply via email to