diff options
author | Jakub Jelinek <jakub@redhat.com> | 2010-12-06 20:29:38 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2010-12-06 20:29:38 +0100 |
commit | f4477cf43336547f37db8243e9086fa3b5941e14 (patch) | |
tree | d2410960fa89feae2c245906b67430c8bb3b5697 /gcc/reginfo.c | |
parent | 150bd82096743de59b2528fefcb7a5ec936f9d89 (diff) | |
download | gcc-f4477cf43336547f37db8243e9086fa3b5941e14.tar.gz |
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
Diffstat (limited to 'gcc/reginfo.c')
-rw-r--r-- | gcc/reginfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)); } |