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] Alignment fault during function call


Hi,

On Thu, 5 Aug 2010, Bernd Schmidt wrote:

> +  /* Avoid nesting calls.  We allow a few things which we're certain won't
> +     generate library calls.  */
> +  if (is_gimple_call (use_stmt)
> +      && gimple_assign_rhs_code (stmt) != VAR_DECL
> +      && gimple_assign_rhs_code (stmt) != PARM_DECL)
> +    return false;

You want to allow SSA_NAMEs at least here.  Of course the above is quite 
conservative, OTOH TERing into calls shouldn't be terribly important 
anyway.


Ciao,
Michael.


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