https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94665
--- Comment #8 from z.zhanghaijian at huawei dot com <z.zhanghaijian at huawei dot com> --- (In reply to Segher Boessenkool from comment #7) > Can r94 or r93 be NaN there? > > (I should build an aarch64 compiler... takes almost a day though :-) ) Yes, r94 and r93 are function arguments, there is no limit in the example, it may be NaN. -funsafe-math-optimizations allow optimization assume that arguments are not NaNs like -ffinite-math-only?