Results for egcs-2.92.23 19981122 (gcc2 ss-980609 experimental)^M testsuite on i386-unknown-openbsd2.4

Jeffrey A Law law@cygnus.com
Sat Nov 28 09:07:00 GMT 1998


  In message < 199811271938.TAA07708@phal.cygnus.co.uk >you write:
  > > This is a bug in reload, it kills the REG_UNUSED notes, which cannot be
  > > recomputed accurately.  As a result the second stage compiler is
  > > miscompiled (more exactly the function div_and_round_double which is
  > > called by choose_multiplier).  Here is a patch:
  > 
  > I don't see why REG_UNUSED notes should be any more reliable than REG_DEAD
  > notes at the end of reload.
  > Neither do I see why it should be impossible to re-calculate them
  > accurately.
  > Can you please describe in more detail why flow failed to recompute the
  > notes accurately.
I've already discussed this with Andreas, and I've already indicated that the
patch is conceptually OK.  See older messages in egcs-patches.

There is still the problem that flow could add a second REG_UNUSED note to an
insn that I asked Andreas to resolve before we added his patch.  Or at least
explain why such a note is OK and would not cause problems.

jeff



More information about the Gcc-bugs mailing list