Commit 854dfdff by Richard Kenner

(record_asm_reg_life): Don't abort for asm that doesn't match its

constraints.

From-SVN: r4342
parent dc3e17ad
/* Register to Stack convert for GNU compiler. /* 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. This file is part of GNU CC.
...@@ -768,12 +768,11 @@ record_asm_reg_life (insn, regstack, operands, constraints, ...@@ -768,12 +768,11 @@ record_asm_reg_life (insn, regstack, operands, constraints,
rtx *clobber_reg; rtx *clobber_reg;
/* Find out what the constraints require. If no constraint /* Find out what the constraints require. If no constraint
alternative matches, that is a compiler bug: we should have caught alternative matches, this asm is malformed. */
such an insn during reload. */
i = constrain_asm_operands (n_operands, operands, constraints, i = constrain_asm_operands (n_operands, operands, constraints,
operand_matches, operand_class); operand_matches, operand_class);
if (i < 0) if (i < 0)
abort (); malformed_asm = 1;
/* Strip SUBREGs here to make the following code simpler. */ /* Strip SUBREGs here to make the following code simpler. */
for (i = 0; i < n_operands; i++) for (i = 0; i < n_operands; i++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment