* arm.c (arm_function_ok_for_sibcall): Use DECL_WEAK in previous
change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182628
138bc75d-0d04-0410-961f-
82ee72b054a4
+2011-12-21 Richard Earnshaw <rearnsha@arm.com>
+
+ PR target/51643
+ * arm.c (arm_function_ok_for_sibcall): Use DECL_WEAK in previous
+ change.
+
2011-12-22 Tristan Gingold <gingold@adacore.com>
* config/ia64/ia64.c (ia64_promote_function_mode): Remove.
sibling calls. */
if (TARGET_AAPCS_BASED
&& arm_abi == ARM_ABI_AAPCS
- && lookup_attribute ("weak", DECL_ATTRIBUTES (decl)))
+ && DECL_WEAK (decl))
return false;
/* Everything else is ok. */