Re: [Patch, SMS] Fix a potential bug of schedule_reg_moves of SMS

2014-01-06 Thread Jeff Law
On 01/02/14 07:17, Felix Yang wrote: +2014-01-02 Felix Yang + +* modulo-sched.c (schedule_reg_moves): Clear distance1_uses if it +is newly allocated. Thanks. Applied. If you have a testcase where failure to properly initialize distance1_uses resulted in some kind of unexpected behavi

Re: [Patch, SMS] Fix a potential bug of schedule_reg_moves of SMS

2014-01-05 Thread Felix Yang
Ping ? Cheers, Felix On Thu, Jan 2, 2014 at 9:07 PM, Felix Yang wrote: > Hello Vladimir, > This patch fixes a trivial bug of SMS: distance1_uses needs to be > initialized if newly allocated. > Since the original author of SMS is not active for a very long time, > it would be nice if you can

Re: [Patch, SMS] Fix a potential bug of schedule_reg_moves of SMS

2014-01-02 Thread Felix Yang
Sorry, the year of the date in ChangeLog is wrong, fix it. Index: gcc/ChangeLog == = --- gcc/ChangeLog(revision 206279) +++ gcc/ChangeLog(working copy) @@ -1,3 +1,8 @@ +2014-01-02 Felix Yang + +* modulo-sched.c (schedu

[Patch, SMS] Fix a potential bug of schedule_reg_moves of SMS

2014-01-02 Thread Felix Yang
Hello Vladimir, This patch fixes a trivial bug of SMS: distance1_uses needs to be initialized if newly allocated. Since the original author of SMS is not active for a very long time, it would be nice if you can apply it for me : ) Thanks. Index: gcc/ChangeLog