This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Repost: RFA [4.1]: improvement to if-conversion and cross-jumping (PR20070)
- From: Joern RENNECKE <joern dot rennecke at st dot com>
- To: Ulrich Weigand <uweigand at de dot ibm dot com>
- Cc: Bernd Schmidt <bernds_cb1 at t-online dot de>, Steven Bosscher <stevenb at suse dot de>, Richard Henderson <rth at redhat dot com>, gcc-patches at gcc dot gnu dot org, jh at suse dot cz
- Date: Wed, 11 Jan 2006 14:24:51 +0000
- Subject: Re: Repost: RFA [4.1]: improvement to if-conversion and cross-jumping (PR20070)
- References: <200601110256.k0B2up1B026245@53v30g15.boeblingen.de.ibm.com>
Ulrich Weigand wrote:
Ah, this is indeed the bug: info.local_rvalue is true for *both* register
1 and 2, because of an off-by-one bug in find_dying_inputs fixed by the
patch below. This fixes my test case.
Oops, indeed. I suppose that happened because I'm still used to the
idiom --nregs >= 0,
which we phase out for stylistic reasons and changes in prevalent
relative operation
costs.