[PATCH] PR19917: Calls to weak functions may trap
Daniel Jacobowitz
drow@false.org
Sun Feb 13 12:15:00 GMT 2005
On Sat, Feb 12, 2005 at 02:40:02PM -0700, Roger Sayle wrote:
> Does this seem reasonable?
First of all, this sounds awfull familiar to PR 19828. Not the same
problem exactly...
> + case CALL_EXPR:
> + t = get_callee_fndecl (expr);
> + /* Assume that calls to weak functions may trap. */
> + if (!t || !DECL_P (t) || DECL_WEAK (t))
> + return true;
> + return false;
> +
Second, you've got a stray line here.
--
Daniel Jacobowitz
CodeSourcery, LLC
More information about the Gcc-patches
mailing list