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

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <h...@gcc.gnu.org>:

https://gcc.gnu.org/g:7ef68c37b3a46e69ed4a5ff6b2b368e2c9a8023f

commit r12-5822-g7ef68c37b3a46e69ed4a5ff6b2b368e2c9a8023f
Author: H.J. Lu <hjl.to...@gmail.com>
Date:   Tue Dec 7 05:09:34 2021 -0800

    x86: Check FUNCTION_DECL before calling cgraph_node::get

    gcc/

            PR target/103594
            * config/i386/i386.c (ix86_call_use_plt_p): Check FUNCTION_DECL
            before calling cgraph_node::get.

    gcc/testsuite/

            PR target/103594
            * gcc.dg/pr103594.c: New test.

Reply via email to