On Tue, Dec 7, 2021 at 2:15 PM H.J. Lu wrote:
>
> 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.
OK.
Th
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.
---
gcc/config/i386/i386.c | 3 ++-
gcc/testsuite/gcc.dg/pr1035