implicit-zee.c has zeinsn_list = VEC_alloc (rtx, heap, 8); FOR_EACH_BB (curr_block) { FOR_BB_INSNS (curr_block, curr_insn) { if (!INSN_P (curr_insn)) continue; type = for_each_rtx (&PATTERN (curr_insn), is_set_with_extension_DI, (void *)&set_insn); if (!type) continue; I believe NONDEBUG_INSN_P should be used here instead of INSN_P.
Subject: Bug 44326 Author: hjl Date: Fri Jun 25 15:33:21 2010 New Revision: 161389 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161389 Log: 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. Modified: trunk/gcc/ChangeLog trunk/gcc/implicit-zee.c
Fixed.