Fix breakage with missing decl check for arm-none-eabi builds.

2013-05-16  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

	PR target/19599
	* config/arm/arm.c (arm_function_ok_for_sibcall): Add check
	for NULL decl.

From-SVN: r198973
This commit is contained in:
Ramana Radhakrishnan 2013-05-16 14:31:24 +00:00 committed by Ramana Radhakrishnan
parent ce85812624
commit b871e3d225
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2013-05-16 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
PR target/19599
* config/arm/arm.c (arm_function_ok_for_sibcall): Add check
for NULL decl.
2013-05-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* reorg.c (link_cc0_insns): Wrap in #ifdef HAVE_cc0.

View File

@ -5426,6 +5426,7 @@ arm_function_ok_for_sibcall (tree decl, tree exp)
sibling calls. */
if (TARGET_AAPCS_BASED
&& arm_abi == ARM_ABI_AAPCS
&& decl
&& DECL_WEAK (decl))
return false;