From 854dfdff0a2e43a796c19067be6badd2de1f76a4 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Wed, 5 May 1993 17:41:42 -0400 Subject: [PATCH] (record_asm_reg_life): Don't abort for asm that doesn't match its constraints. From-SVN: r4342 --- gcc/reg-stack.c | 7 +++---- 1 file 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++) -- 2.30.2