From 8364ac6a097211a30fd08a25b4b6a2f8b1dca127 Mon Sep 17 00:00:00 2001 From: jakub Date: Mon, 6 Dec 2010 19:29:38 +0000 Subject: 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167514 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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 aaf062ed135..7c1209fe4b4 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.2.1