This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][IA64] Fix control speculation bug
- From: Vladimir Makarov <vmakarov at redhat dot com>
- To: Maxim Kuvyrkov <maxim at codesourcery dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, Jim Wilson <wilson at tuliptree dot org>, Andrey Belevantsev <abel at ispras dot ru>
- Date: Tue, 05 Aug 2008 11:21:48 -0400
- Subject: Re: [PATCH][IA64] Fix control speculation bug
- References: <489486C5.3050008@codesourcery.com>
Maxim Kuvyrkov wrote:
Hello,
This patch fixes ICE on virtually any case of using ia64 control
speculation. The bug doesn't manifest itself because control
speculation by default is off.
I don't have access to ia64 box at the moment, so I only checked it on
a cross-compiler. Andrey, can you, possibly, test the patch?
The patch is fairly simple and only constraints the scheduler to use
control speculation in lesser number of cases.
OK for mainline and 4.3 branch?
Yes, the patch itself is OK. But you should add also a test to check
the control speculation for ia64. I think it is easy to do because
control speculation is completely broken now.
Thanks for the patch.