https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115823
--- Comment #13 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Gaius Mulley <ga...@gcc.gnu.org>: https://gcc.gnu.org/g:79e029a41825f533bb87b4bee5427b90b62175ae commit r15-2366-g79e029a41825f533bb87b4bee5427b90b62175ae Author: Gaius Mulley <gaiusm...@gmail.com> Date: Sun Jul 28 19:20:43 2024 +0100 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. Signed-off-by: Gaius Mulley <gaiusm...@gmail.com>