This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: fix ieee/compare-fp-1.c on alpha
- From: Paolo Bonzini <bonzini at gnu dot org>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 10 Jun 2004 08:48:59 +0200
- Subject: Re: fix ieee/compare-fp-1.c on alpha
- References: <20040609205931.GA13504@redhat.com>
The problem is that compare_from_rtx, via simplify-rtx.c,
canonicalizes the comparison taking FLOAT_STORE_FLAG_VALUE
into account. In doing so, it recognizes that it needn't
emit the compare pattern. Since we didn't emit the compare,
the setcc pattern aborts.
Thank you. I'll submit a proper patch to fold the comparison next week,
so that we do not even reach the optimizer.
Maybe these should go on 3.4 branch as well?
Paolo