https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122177
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-15 branch has been updated by Georg-Johann Lay <[email protected]>: https://gcc.gnu.org/g:038bb0fb0cc9fbfc26a96b8f3854abc85ba5df8a commit r15-10394-g038bb0fb0cc9fbfc26a96b8f3854abc85ba5df8a Author: Georg-Johann Lay <[email protected]> Date: Sun Oct 5 20:56:56 2025 +0200 AVR/LibF7: target/122177 - fix fmin / fmax return value for one NaN arg. fmin and fmax should return the non-NaN argument in the case where exactly one argument is a NaN. Moreover, IEEE double fmin and fmax can be performed without first converting the args to the internal representation and then converting back again. PR target/122177 libgcc/config/avr/libf7/ * libf7-common.mk (m_ddd): Remove: fmin, fmax. (F7_ASM_PARTS): Add: D_fminfmax. * libf7-asm.sx (D_fmanfmax): New module. * f7-wraps.h: Rebuild. gcc/testsuite/ * gcc.target/avr/fminfmax-1.c: New test. (cherry picked from commit efb3cd64fdefab88c7787b16ad33be33f4c4a2a4)
