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: output # <srcline> between #APP and #NO_APP, for asm statements


Alexandre Oliva <aoliva@redhat.com> writes:

> @@ -1549,13 +1549,12 @@ decode_asm_operands (rtx body, rtx *oper
>  	  if (modes)
>  	    modes[i] = ASM_OPERANDS_INPUT_MODE (asmop, i);
>  	}
> -      template = ASM_OPERANDS_TEMPLATE (asmop);
>      }
>    else if (GET_CODE (body) == PARALLEL
>  	   && GET_CODE (XVECEXP (body, 0, 0)) == SET
>  	   && GET_CODE (SET_SRC (XVECEXP (body, 0, 0))) == ASM_OPERANDS)
>      {
> -      rtx asmop = SET_SRC (XVECEXP (body, 0, 0));
> +      asmop = SET_SRC (XVECEXP (body, 0, 0));
>        int nparallel = XVECLEN (body, 0); /* Includes CLOBBERs.  */
>        int nin = ASM_OPERANDS_INPUT_LENGTH (asmop);
>        int nout = 0;		/* Does not include CLOBBERs.  */

No mixed declarations and code.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


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