aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2010-06-25 15:33:21 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2010-06-25 08:33:21 -0700
commit97f43086168e40950fa203e000050882a9912c02 (patch)
tree62759bb747943d787df9fafb3e92b4715fac9641 /gcc
parent062c604fc558cd31410ffe0273ff0264fc4ee7c8 (diff)
downloadgcc-97f43086168e40950fa203e000050882a9912c02.zip
gcc-97f43086168e40950fa203e000050882a9912c02.tar.gz
gcc-97f43086168e40950fa203e000050882a9912c02.tar.bz2
Don't search DEBUG_INSNs for removable zero extends.
2010-06-25 H.J. Lu <hongjiu.lu@intel.com> PR rtl-optimization/44326 * implicit-zee.c (find_removable_zero_extends): Replace INSN_P with NONDEBUG_INSN_P. From-SVN: r161389
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/implicit-zee.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f64b969..a1bc891 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR rtl-optimization/44326
+ * implicit-zee.c (find_removable_zero_extends): Replace
+ INSN_P with NONDEBUG_INSN_P.
+
2010-06-25 Martin Jambor <mjambor@suse.cz>
* ipa-prop.h (struct ipa_param_descriptor): Removed the modified flag.
diff --git a/gcc/implicit-zee.c b/gcc/implicit-zee.c
index 3344d7f..46029cd 100644
--- a/gcc/implicit-zee.c
+++ b/gcc/implicit-zee.c
@@ -858,7 +858,7 @@ find_removable_zero_extends (void)
{
FOR_BB_INSNS (curr_block, curr_insn)
{
- if (!INSN_P (curr_insn))
+ if (!NONDEBUG_INSN_P (curr_insn))
continue;
type = for_each_rtx (&PATTERN (curr_insn),