CC @tylerjereddy. See scipy/scipy#18697, it seems MacOSX on arm optimizes the multiply in a way that leads to loading uninitialized values/zeros probably, so that 0 * inf triggers a warning.
I am not sure we should worry too much about it, since clang on MacOS X for arm doesn't properly support -ftrapping-math IIRC, which tends to make things difficult, but it is incorrect. The SciPy test should not show a warning in the specific multiplication.