This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Ongoing problems with resource.c changes



We're still having problems with the BLOCK_NUM stuff.

The latest problem appears when we call mark_target_live_regs with an
ADDR_VEC insn.

Apparently the ADDR_VEC insn isn't actually within the bb->head/end bounds for
its basic block and thus compute_bb_for_insn never initializes an entry
in basic_block_for_insn for the ADDR_VEC.

Thus when we call BLOCK_NUM (addr_vec insn) we blow up dereferencing a null
pointer.

jeff



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]