I think what's causing this to fail is that, going into the backend, @F90 has a nofpclass(nan inf) attribute on its return value, but has a musttail call without that attribute. Removing the attribute from @F90 or adding it to the call site causes the compile to succeed.
This code causes an error in the ARM backend when built with LTO, and one part is build with -ffast-math, and the other with UBSan:
I think what's causing this to fail is that, going into the backend,
@F90
has anofpclass(nan inf)
attribute on its return value, but has amusttail
call without that attribute. Removing the attribute from@F90
or adding it to the call site causes the compile to succeed.