[PATCH]: Fix PR target/29682 - [4.2/4.3 Regression] ICE: in change_pattern, at haifa-sched.c:4066 with -O3 -msched-control-spec

Maxim Kuvyrkov mkuvyrkov@ispras.ru
Thu Nov 16 11:22:00 GMT 2006


Hi!

This patch fixes PR target/29682 on ia64.

Though the ICE was detected only with specified flags the problem can 
potentially emerge with default -O2 settings.

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: speculate_insn () function so that only loads to general or fp 
registers will be considered for speculation.


Thanks,
Maxim
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fix-pr29682.clg
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20061116/ffd058b3/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-pr29682.patch
Type: text/x-patch
Size: 3629 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20061116/ffd058b3/attachment.bin>


More information about the Gcc-patches mailing list