From f4477cf43336547f37db8243e9086fa3b5941e14 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Mon, 6 Dec 2010 20:29:38 +0100 Subject: re PR debug/46771 (-fcompare-debug failure (length) with -O -ftree-vectorize) PR debug/46771 * reginfo.c (init_subregs_of_mode): Don't call find_subregs_of_mode on DEBUG_INSNs. * gcc.dg/pr46771.c: New test. From-SVN: r167514 --- gcc/reginfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/reginfo.c') diff --git a/gcc/reginfo.c b/gcc/reginfo.c index aaf062e..7c1209f 100644 --- a/gcc/reginfo.c +++ b/gcc/reginfo.c @@ -1330,7 +1330,7 @@ init_subregs_of_mode (void) FOR_EACH_BB (bb) FOR_BB_INSNS (bb, insn) - if (INSN_P (insn)) + if (NONDEBUG_INSN_P (insn)) find_subregs_of_mode (PATTERN (insn)); } -- cgit v1.1