This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][PING]: Obvious fix for PR target/29794 - [4.2/4.3 Regression]


Maxim Kuvyrkov wrote:

Maxim Kuvyrkov wrote:

Hi!

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?


PING!


This patch obviously fixes an off-by-one error in sched-rgn.c .

Maybe I should just commit it as obvious?

Sorry for the delay with the answer. The patch is ok. You can commit it into the branch and the mainline.


Thanks for the patch, Maxim.



------------------------------------------------------------------------


2006-11-20 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>

    PR target/29794
    * sched-rgn.c (add_block1): Use correct initializer.





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]