https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115804
--- Comment #11 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:8a6b30148d76cf88148622898f1db6c756b21dde commit r14-10971-g8a6b30148d76cf88148622898f1db6c756b21dde Author: Gaius Mulley <gaiusm...@gmail.com> Date: Sat Nov 23 13:16:15 2024 +0000 [PATCH] PR modula2/115804 ICE during gimplification with new isfinite optab The calls to five m2 builtins have the incorrect return type. This was detected when adding isfinitedf2 optab to the s390 backend which results in ICEs during gimplification in the gm2 testsuite. gcc/m2/ChangeLog: PR modula2/115804 * gm2-gcc/m2builtins.cc (builtin_function_entry): Add GTY. (DoBuiltinMemCopy): Add rettype and use rettype in the call. (DoBuiltinAlloca): Ditto. (DoBuiltinIsfinite): Ditto. (DoBuiltinIsnan): Ditto. (m2builtins_BuiltInHugeVal): Ditto. (m2builtins_BuiltInHugeValShort): Ditto. (m2builtins_BuiltInHugeValLong): Ditto. Co-Authored-By: Stefan Schulze Frielinghaus <stefa...@linux.ibm.com> Co-Authored-By: Andrew Pinski <quic_apin...@quicinc.com> (cherry picked from commit 4594d555aa551a9998fc921363c5f6ea50630d5c) Signed-off-by: Gaius Mulley <gaiusm...@gmail.com>