[PATCH][PING]: Fix PR target/29682 - [4.2/4.3 Regression] ICE on ia64 in scheduler
Maxim Kuvyrkov
mkuvyrkov@ispras.ru
Tue Jan 30 07:37:00 GMT 2007
Jim Wilson wrote:
> On Mon, 2006-12-04 at 10:25 +0300, Maxim Kuvyrkov wrote:
>>> This patch fixes PR target/29682 on ia64.
>>> The bug is that we generate a speculative load into ar.lc register and
>>> fail when try to recognize it. The patch adds necessary check to
>>> ia64.c: ia64_speculate_insn () function so that only loads to general or fp
>>> registers will be considered for speculation.
>
> OK.
>
> While looking at this patch, I noticed that the existing code isn't
> handling subregs. There are two places where it checks REG_P but
> doesn't handle or check for subregs. Presumably subregs can occur here,
> which means we could get better optimization if we allowed them.
Thanks. I'll commit the patch with the flags added to the testcase and
will post one for handling subregs in about a week.
Thanks,
Maxim
More information about the Gcc-patches
mailing list