diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-05-05 21:41:42 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-05-05 21:41:42 +0000 |
commit | 71ed03a4866e39c089d0119f0f5e86bfed6c867b (patch) | |
tree | 76599c6eef02ec4dda4dc6984212ede9d920f7e7 /gcc/reg-stack.c | |
parent | 684d454c9ac0e9cf8534a7c123e5bdd9ffc44a3e (diff) | |
download | gcc-71ed03a4866e39c089d0119f0f5e86bfed6c867b.tar.gz |
(record_asm_reg_life): Don't abort for asm that doesn't match its
constraints.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4342 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reg-stack.c')
-rw-r--r-- | gcc/reg-stack.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/reg-stack.c b/gcc/reg-stack.c index cde0ca30e44..c3d792e4bdd 100644 --- a/gcc/reg-stack.c +++ b/gcc/reg-stack.c @@ -1,5 +1,5 @@ /* Register to Stack convert for GNU compiler. - Copyright (C) 1992 Free Software Foundation, Inc. + Copyright (C) 1992, 1993 Free Software Foundation, Inc. This file is part of GNU CC. @@ -768,12 +768,11 @@ record_asm_reg_life (insn, regstack, operands, constraints, rtx *clobber_reg; /* Find out what the constraints require. If no constraint - alternative matches, that is a compiler bug: we should have caught - such an insn during reload. */ + alternative matches, this asm is malformed. */ i = constrain_asm_operands (n_operands, operands, constraints, operand_matches, operand_class); if (i < 0) - abort (); + malformed_asm = 1; /* Strip SUBREGs here to make the following code simpler. */ for (i = 0; i < n_operands; i++) |