PATCH: PR rtl-optimization/44326: NONDEBUG_INSN_P should be used in implicit-zee.c
H.J. Lu
hongjiu.lu@intel.com
Fri Jun 25 14:56:00 GMT 2010
Hi,
When searching removable zero extends, there is no need to exam debug
insns. Tested on Linux/x86-64. OK to install?
Thanks.
H.J.
---
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.
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),
More information about the Gcc-patches
mailing list