summaryrefslogtreecommitdiff
path: root/gcc/web.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2010-01-26 16:27:34 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2010-01-26 16:27:34 +0000
commit41ceca3da657cef6b1d495750207d96c34a9c81f (patch)
treea18379b4e501c241ef14523095e2aa75fddf538b /gcc/web.c
parent78d39c62ebd00adba2cdff4385b7557c028dea15 (diff)
downloadgcc-41ceca3da657cef6b1d495750207d96c34a9c81f.tar.gz
2010-01-26 Richard Guenther <rguenther@suse.de>
PR rtl-optimization/42685 * web.c (web_main): Ignore DEBUG_INSNs. * gcc.dg/pr42685.c: New testcase. * g++.dg/other/pr42685.C: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156252 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/web.c')
-rw-r--r--gcc/web.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/web.c b/gcc/web.c
index 18579b5cdbd..7e15c2ce4c9 100644
--- a/gcc/web.c
+++ b/gcc/web.c
@@ -298,7 +298,7 @@ web_main (void)
FOR_BB_INSNS (bb, insn)
{
unsigned int uid = INSN_UID (insn);
- if (INSN_P (insn))
+ if (NONDEBUG_INSN_P (insn))
{
df_ref *use_rec;
for (use_rec = DF_INSN_UID_USES (uid); *use_rec; use_rec++)
@@ -326,7 +326,7 @@ web_main (void)
FOR_BB_INSNS (bb, insn)
{
unsigned int uid = INSN_UID (insn);
- if (INSN_P (insn))
+ if (NONDEBUG_INSN_P (insn))
{
df_ref *use_rec;
for (use_rec = DF_INSN_UID_USES (uid); *use_rec; use_rec++)
@@ -350,7 +350,7 @@ web_main (void)
FOR_BB_INSNS (bb, insn)
{
unsigned int uid = INSN_UID (insn);
- if (INSN_P (insn))
+ if (NONDEBUG_INSN_P (insn))
{
df_ref *use_rec;
df_ref *def_rec;