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

W E Brown <webrown.cpp at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |webrown.cpp at gmail dot com

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:8dc933c12f489626339b3ba1a8e2dc23eb4de98e

commit r11-1728-g8dc933c12f489626339b3ba1a8e2dc23eb4de98e
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Tue Jun 30 11:42:54 2020 +0200

    c-family: Avoid ICEs on calls to internal functions [PR95963]

    The following testcase ICEs since recent Martin's -Wnonnull changes,
    we see a CALL_EXPR and ICE because CALL_EXPR_FN is NULL, which is
    valid for internal function calls.  Internal function calls don't have a
    function type, and will never have format_arg attribute on them nor will
    serve as the i18n routines -Wformat cares about.

    2020-06-30  Jakub Jelinek  <ja...@redhat.com>

            PR c++/95963
            * c-common.c (check_function_arguments_recurse): Don't crash on
            calls to internal functions.

            * g++.dg/cpp1z/launder9.C: New test.

Reply via email to