aboutsummaryrefslogtreecommitdiff
path: root/gcc/reg-stack.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1993-05-05 17:41:42 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1993-05-05 17:41:42 -0400
commit854dfdff0a2e43a796c19067be6badd2de1f76a4 (patch)
tree76599c6eef02ec4dda4dc6984212ede9d920f7e7 /gcc/reg-stack.c
parentdc3e17add0fcce3988cd981e161aa983139743e9 (diff)
downloadgcc-854dfdff0a2e43a796c19067be6badd2de1f76a4.zip
gcc-854dfdff0a2e43a796c19067be6badd2de1f76a4.tar.gz
gcc-854dfdff0a2e43a796c19067be6badd2de1f76a4.tar.bz2
(record_asm_reg_life): Don't abort for asm that doesn't match its
constraints. From-SVN: r4342
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 cde0ca3..c3d792e 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++)