https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120055
--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Florian Weimer <f...@gcc.gnu.org>: https://gcc.gnu.org/g:02fa088f5b61fb5ddfff9e2dc0c0404450e7c6a4 commit r16-345-g02fa088f5b61fb5ddfff9e2dc0c0404450e7c6a4 Author: Florian Weimer <fwei...@redhat.com> Date: Fri May 2 11:39:29 2025 +0200 c: Fix crash in c-typeck.cc convert_arguments with indirect calls gcc/c/ PR c/120055 * c-typeck.cc (convert_arguments): Check if fundecl is null before checking for builtin function declaration. gcc/testsuite/ * gcc.dg/Wdeprecated-non-prototype-6.c: New test.