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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Created attachment 51937
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51937&action=edit
Rewrite ix86_call_use_plt_p to be better

Here is a rewrite and adds the check for FUNCTION_DECL before calling of
cgraph_node::get.

I am not going to test this though.

Reply via email to