aboutsummaryrefslogtreecommitdiff
path: root/gcc/regstat.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2016-02-09 18:26:00 +0000
committerJeff Law <law@gcc.gnu.org>2016-02-09 11:26:00 -0700
commitb890a4410b40417cee25c67feb741c60a4c31be8 (patch)
treea4e826179f6fab07511d35bb7c0a0e6f1a1d3181 /gcc/regstat.c
parent4849c1c7f6cfc6725b886b6804442a3390232c69 (diff)
downloadgcc-b890a4410b40417cee25c67feb741c60a4c31be8.zip
gcc-b890a4410b40417cee25c67feb741c60a4c31be8.tar.gz
gcc-b890a4410b40417cee25c67feb741c60a4c31be8.tar.bz2
re PR target/69634 (-fcompare-debug failure (length) with -O2 -fno-dce -fschedule-insns -fno-tree-vrp @ i686)
2016-02-11 Alexandre Oliva <aoliva@redhat.com> PR target/69634 * regstat.c (regstat_bb_compute_calls_crossed): Disregard debug insns. PR target/69634 * gcc.dg/pr69634.c: New. From-SVN: r233250
Diffstat (limited to 'gcc/regstat.c')
-rw-r--r--gcc/regstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/regstat.c b/gcc/regstat.c
index af5e475..c05b69f 100644
--- a/gcc/regstat.c
+++ b/gcc/regstat.c
@@ -444,7 +444,7 @@ regstat_bb_compute_calls_crossed (unsigned int bb_index, bitmap live)
struct df_insn_info *insn_info = DF_INSN_INFO_GET (insn);
unsigned int regno;
- if (!INSN_P (insn))
+ if (!NONDEBUG_INSN_P (insn))
continue;
/* Process the defs. */