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]: Fix latent bug in tailcall


Daniel Berlin wrote:

> +  /* Parameters that are only defined but never used need not be copied.  */
> +  def = default_def (param);
> +  if (!def || TREE_CODE (def) != SSA_NAME)
> +    return false;
> +
Hmm?  default_def() should only return NULL or an SSA name.

The rest looks fine.


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