diff options
author | Graham Stott <grahams@redhat.com> | 2001-11-02 10:52:08 +0000 |
---|---|---|
committer | Graham Stott <grahams@gcc.gnu.org> | 2001-11-02 10:52:08 +0000 |
commit | f5a5ea4a9d3736e528a9dde2caf66d0ecdcbfcc1 (patch) | |
tree | a074b0f5dc0101243ea018c8e34a4d06b06b407b /gcc/recog.c | |
parent | 331f9c78890901a80956cc50ab3f1c40c5ed2054 (diff) | |
download | gcc-f5a5ea4a9d3736e528a9dde2caf66d0ecdcbfcc1.zip gcc-f5a5ea4a9d3736e528a9dde2caf66d0ecdcbfcc1.tar.gz gcc-f5a5ea4a9d3736e528a9dde2caf66d0ecdcbfcc1.tar.bz2 |
* recog.c (decode_asm_operands): Check that the SRC is ASM_OPERANDS.
From-SVN: r46713
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 265ce3f..49d0cd9 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. */ |