diff options
author | grahams <grahams@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-11-02 10:52:08 +0000 |
---|---|---|
committer | grahams <grahams@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-11-02 10:52:08 +0000 |
commit | 63c84c76defdae012ecb403675ee289972bc6713 (patch) | |
tree | a074b0f5dc0101243ea018c8e34a4d06b06b407b /gcc/recog.c | |
parent | cfacc99c00b8aa10a7d2068681e3ac9d54a502bc (diff) | |
download | gcc-63c84c76defdae012ecb403675ee289972bc6713.tar.gz |
* recog.c (decode_asm_operands): Check that the SRC is ASM_OPERANDS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46713 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/recog.c')
-rw-r--r-- | gcc/recog.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/recog.c b/gcc/recog.c index 265ce3ffbd2..49d0cd927b1 100644 --- a/gcc/recog.c +++ b/gcc/recog.c @@ -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. */ |