diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-06 19:29:38 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-06 19:29:38 +0000 |
commit | 8364ac6a097211a30fd08a25b4b6a2f8b1dca127 (patch) | |
tree | d2410960fa89feae2c245906b67430c8bb3b5697 /gcc/reginfo.c | |
parent | bb1c580c847d650e2322189dc2e37824fd0e8ec5 (diff) | |
download | gcc-8364ac6a097211a30fd08a25b4b6a2f8b1dca127.tar.gz |
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
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)); } |