This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: ifcvt/crossjump patch: Fix PR 42496, 21803
- From: Bernd Schmidt <bernds at codesourcery dot com>
- To: Steven Bosscher <stevenb dot gcc at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 02 Apr 2010 11:45:12 +0100
- Subject: Re: ifcvt/crossjump patch: Fix PR 42496, 21803
- References: <4BB3CCCA.7000600@codesourcery.com> <y2i571f6b511004011100t57efedfey1f61e0cb24f6e336@mail.gmail.com>
On 04/01/2010 07:00 PM, Steven Bosscher wrote:
> On Thu, Apr 1, 2010 at 12:29 AM, Bernd Schmidt <bernds@codesourcery.com> wrote:
>> The two PRs 42496 and 21803 show a problem with the RTL ifcvt pass:
>> sometimes, we end up with two identical insns, predicated with opposite
>> conditions.
>
> Cool. But unfortunately I get an ICE on ia64 with this patch applied.
>
> Do you still have access to ia64? Otherwise I'll see if I can debug this.
I found it. The problem is that we match one insn from the else block
twice - the head sequence matches for three insns, the tail sequence for
two, but the else block only has 5 insns in total. Should be fixable.
Bernd