+2002-05-31 Alan Lehotsky <apl@alum.mit.edu>
+ * varasm.c (mark_constant_pool): Walk epilogue delay list
+ checking the insn, not the chain for potential constants.
+
Fri May 31 12:38:43 2002 J"orn Rennecke <joern.rennecke@superh.com>
* config/sh/elf.h (ASM_SPEC): Use subtarget_endian_asm_spec.
mark_constant_pool ()
{
rtx insn;
+ rtx link;
struct pool_constant *pool;
if (first_pool == 0 && htab_elements (const_str_htab) == 0)
if (INSN_P (insn))
mark_constants (PATTERN (insn));
- for (insn = current_function_epilogue_delay_list;
- insn;
- insn = XEXP (insn, 1))
- if (INSN_P (insn))
- mark_constants (PATTERN (insn));
+ for (link = current_function_epilogue_delay_list;
+ link;
+ link = XEXP (link, 1))
+ {
+ insn = XEXP (link, 0);
+
+ if (INSN_P (insn))
+ mark_constants (PATTERN (insn));
+ }
}
/* Look through appropriate parts of X, marking all entries in the