On Mon, Sep 05, 2011 at 02:31:32PM +0200, Tom de Vries wrote:
> --- gcc/recog.c (revision 178145)
> +++ gcc/recog.c (working copy)
> @@ -118,6 +118,46 @@ init_recog (void)
>  }
>  
>  
> +/* Return true if labels in asm operands BODY are LABEL_REFs.  */
> +
> +static bool
> +asm_labels_ok (rtx body)
> +{
> +  rtx first, asmop = NULL;
> +  int i;

asmop = extract_asm_operands (body);

if (asmop == NULL)
  return true;
?

I'd say you don't need to call asm_noperands after it.

        Jakub

Reply via email to