* recog.c (decode_asm_operands): Check that the SRC is ASM_OPERANDS.

From-SVN: r46713
This commit is contained in:
Graham Stott 2001-11-02 10:52:08 +00:00 committed by Graham Stott
parent 331f9c7889
commit f5a5ea4a9d
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2001-11-02 Graham Stott <grahams@redhat.com>
* recog.c (decode_asm_operands): Check that the SRC is ASM_OPERANDS.
2001-11-01 Eric Christopher <echristo@redhat.com>
* config.gcc: Revert part of earlier patch.

View File

@ -1554,7 +1554,8 @@ decode_asm_operands (body, operands, operand_locs, constraints, modes)
template = ASM_OPERANDS_TEMPLATE (asmop);
}
else if (GET_CODE (body) == PARALLEL
&& GET_CODE (XVECEXP (body, 0, 0)) == SET)
&& 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));
int nparallel = XVECLEN (body, 0); /* Includes CLOBBERs. */