for NULL decl.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237903
138bc75d-0d04-0410-961f-
82ee72b054a4
+2016-07-01 Eric Botcazou <ebotcazou@adacore.com>
+
+ * config/arm/arm.c (arm_function_ok_for_sibcall): Add another check
+ for NULL decl.
+
2016-06-30 Michael Meissner <meissner@linux.vnet.ibm.com>
PR target/71677
/* The PIC register is live on entry to VxWorks PLT entries, so we
must make the call before restoring the PIC register. */
- if (TARGET_VXWORKS_RTP && flag_pic && !targetm.binds_local_p (decl))
+ if (TARGET_VXWORKS_RTP && flag_pic && decl && !targetm.binds_local_p (decl))
return false;
/* If we are interworking and the function is not declared static