https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115823
--- Comment #16 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-14 branch has been updated by Gaius Mulley <ga...@gcc.gnu.org>: https://gcc.gnu.org/g:056448490e4ddb03263d9566b8aaee2340cba3ac commit r14-10986-g056448490e4ddb03263d9566b8aaee2340cba3ac Author: Gaius Mulley <gaiusm...@gmail.com> Date: Tue Nov 26 13:18:27 2024 +0000 [PATCH] PR modula2/115823 Wrong expansion of isnormal optab This patch corrects the function declaration of a builtin (using the libname rather than the source name). gcc/m2/ChangeLog: PR modula2/115823 * gm2-gcc/m2builtins.cc (define_builtin): Build the function decl using the libname. gcc/testsuite/ChangeLog: PR modula2/115823 * gm2/builtins/run/pass/testisnormal.mod: Change to an implementation module. * gm2/builtins/run/pass/testisnormal.def: New test. * gm2/builtins/run/pass/testsinl.def: New test. * gm2/builtins/run/pass/testsinl.mod: New test. (cherry picked from commit 79e029a41825f533bb87b4bee5427b90b62175ae) Signed-off-by: Gaius Mulley <gaiusm...@gmail.com>