This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch RFC IA64] Fixing predication & autoinc interaction
On Fri, 2009-09-25 at 17:04 +0400, Alexander Monakov wrote:
> If I understand the situation correctly, the problem is not in the machine
> description, but rather in the optimization passes (combine in this case).
> Restricting the machine description may just hide the problem, which may
> later resurface on other targets supporting predicated post-incs. So, if
> I'm not mistaken with the analysis, it's seems better to keep the machine
> description as is and fix optimizers.
Your analysis seems sound to me and I agree that fixing this in combine
rather than in the ia64 machine description seems like the right thing
to do. I can't approve your patch (since it isn't ia64 specific), but
I hope you will submit it with a ChangeLog for approval and checkin. In
the mean time I will add it to my nightly build and test in place of my
patch and test it out on IA64 HP-UX and Linux.
Steve Ellcey
sje@cup.hp.com