[PATCH]: Fix PR target/29794 - [4.2/4.3 Regression] cc1 segfaults with -O3 -msched-control-spec

Maxim Kuvyrkov mkuvyrkov@ispras.ru
Mon Nov 20 15:16:00 GMT 2006


This patch fixes PR target/29794 on ia64.

The bug is due to wrong loop variable initialization.  This results in 
use of out-of-bounds index and subsequent segmentation fault.  The 
obvious patch is attached.

OK for trunk and gcc-4_2-branch?


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fix-pr29794.clg
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20061120/d754813c/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-pr29794.patch
Type: text/x-patch
Size: 683 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20061120/d754813c/attachment.bin>

More information about the Gcc-patches mailing list