This is the mail archive of the
mailing list for the GCC project.
Re: assertify sh
Alexandre Oliva wrote:
Hmm... `dieing' looks odd to me. Isn't `dying' the correct spelling?
Or are both forms acceptable?
apparently dying is correct. I was thinking 'dying' was the process
of adding dye :) Who came up with this stupid language?
/* Hard reg 1 is live; since this is a SMALL_REGISTER_CLASSES target,
there shouldn't be anything but a jump before the function end. */
! gcc_assert (TEST_HARD_REG_BIT (regs_live, 7));
! return gen_rtx_REG (Pmode, 7);
good catch, thanks!
It looks like the sense of the assertion got accidentally reversed
here. Before, the code would abort if TEST_HARD_REG_BIT yielded
nonzero; after your change, it aborts if it yields zero.
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
firstname.lastname@example.org :: http://www.planetfall.pwp.blueyonder.co.uk