summaryrefslogtreecommitdiff
path: root/gcc/reg-stack.c
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1993-05-05 21:41:42 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1993-05-05 21:41:42 +0000
commit71ed03a4866e39c089d0119f0f5e86bfed6c867b (patch)
tree76599c6eef02ec4dda4dc6984212ede9d920f7e7 /gcc/reg-stack.c
parent684d454c9ac0e9cf8534a7c123e5bdd9ffc44a3e (diff)
downloadgcc-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.c7
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++)