From c475c36cf6ed17727379ed04418557fcdcc9c0ed Mon Sep 17 00:00:00 2001 From: David Wohlferd Date: Mon, 8 Dec 2014 21:58:23 +0000 Subject: re PR inline-asm/61692 (ICE in extract_insn in recog.c for asm with many parameters) PR target/61692 * cfgexpand.c (expand_asm_operands): Count all inline asm params. PR target/61692 * gcc.dg/pr61692.c: New test. From-SVN: r218494 --- gcc/cfgexpand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/cfgexpand.c') diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c index c996317..d85dbca 100644 --- a/gcc/cfgexpand.c +++ b/gcc/cfgexpand.c @@ -2594,7 +2594,7 @@ expand_asm_operands (tree string, tree outputs, tree inputs, } ninputs += ninout; - if (ninputs + noutputs > MAX_RECOG_OPERANDS) + if (ninputs + noutputs + nlabels > MAX_RECOG_OPERANDS) { error ("more than %d operands in %", MAX_RECOG_OPERANDS); return; -- cgit v1.1