https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120055

--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-15 branch has been updated by Richard Biener
<rgue...@gcc.gnu.org>:

https://gcc.gnu.org/g:5768bc24ca731943755ab937abc7617950e80037

commit r15-10188-g5768bc24ca731943755ab937abc7617950e80037
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.

    (cherry picked from commit 02fa088f5b61fb5ddfff9e2dc0c0404450e7c6a4)

Reply via email to