gcc/
PR target/84211
* config/avr/avr-passes.cc (insninfo_t) <m_insn>: Preset to 0.
(run_find_plies) [hamm=0, dump_file]: Don't print INSN_UID
for a null m_insn.
// This is an insn that sets the m_size bytes of m_regno to either
// - A compile time constant m_isrc (m_code = CONST_INT), or
// - The contents of register number m_rsrc (m_code = REG).
- int m_size;
+ int m_size = 0;
int m_regno;
int m_rsrc;
rtx_code m_code;
uint64_t m_isrc;
- rtx_insn *m_insn;
+ rtx_insn *m_insn = nullptr;
rtx m_set = NULL_RTX;
rtx m_src = NULL_RTX;
int m_scratch = 0; // 0 or the register number of a QImode scratch.
if (hamm == 0)
{
- avr_dump (";; Found redundant insn %d\n", INSN_UID (ii.m_insn));
+ avr_dump (";; Found redundant insn %d\n",
+ ii.m_insn ? INSN_UID (ii.m_insn) : 0);
return true;
}