This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PR19917: Calls to weak functions may trap


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]