RFC: PR rtl-optimization/44012: [4.5/4.6 Regression] ICE: SIGSEGV in ira_merge_allocno_live_ranges
Vladimir N. Makarov
vmakarov@redhat.com
Fri May 7 17:51:00 GMT 2010
On 05/07/2010 10:55 AM, H.J. Lu wrote:
> Hi,
>
> We remove_unnecessary_allocnos removes an allocno, it doesn't remove all
> references. As the result, we wind up reading the removed allocno later.
> This patch removes all references of the removed allocno. Gcc 4.5/4.6
> crash on the testcase. I think the bug is latent in gcc 4.4. Any
> comments?
>
I've added comments to bugzilla. Here is a bit reworked patch.
Thanks for working on the PR, H.J.
Jeff, is it ok to commit?
gcc/
2010-05-07 H.J. Lu<hongjiu.lu@intel.com>
Vladimir Makarov<vmakarov@redhat.com>
PR rtl-optimization/44012
* ira-build.c (remove_unnecessary_allocnos): Nullify
regno_allocno_map of the removed allocno.
gcc/testsuite/
2010-05-07 H.J. Lu<hongjiu.lu@intel.com>
PR rtl-optimization/44012
* gcc.dg/pr44012.c: New.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pr44012rev.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100507/d8673c23/attachment.ksh>
More information about the Gcc-patches
mailing list