Re: [Ping, IRA] Segfault in ira_costs.c:find_costs_and_classes for AVR target

2014-01-14 Thread Vladimir Makarov
On 01/13/2014 03:54 AM, Senthil Kumar Selvaraj wrote: Ping ! Regards Senthil On Thu, Dec 26, 2013 at 03:11:25PM +0530, Senthil Kumar Selvaraj wrote: Hi, gcc.c-torture/compile/pr34856.c and a couple of other tests segfault for the AVR target. Looking at the code, I found that the

Re: [IRA] Segfault in ira_costs.c:find_costs_and_classes for AVR target

2014-01-14 Thread Vladimir Makarov
On 12/26/2013 04:41 AM, Senthil Kumar Selvaraj wrote: Hi, gcc.c-torture/compile/pr34856.c and a couple of other tests segfault for the AVR target. Looking at the code, I found that the x_ira_register_move_cost array[TImode] is NULL, while the code goes on to dereference it

[Ping, IRA] Segfault in ira_costs.c:find_costs_and_classes for AVR target

2014-01-13 Thread Senthil Kumar Selvaraj
Ping ! Regards Senthil On Thu, Dec 26, 2013 at 03:11:25PM +0530, Senthil Kumar Selvaraj wrote: Hi, gcc.c-torture/compile/pr34856.c and a couple of other tests segfault for the AVR target. Looking at the code, I found that the x_ira_register_move_cost array[TImode] is NULL, while the

[IRA] Segfault in ira_costs.c:find_costs_and_classes for AVR target

2013-12-26 Thread Senthil Kumar Selvaraj
Hi, gcc.c-torture/compile/pr34856.c and a couple of other tests segfault for the AVR target. Looking at the code, I found that the x_ira_register_move_cost array[TImode] is NULL, while the code goes on to dereference it (ira_register_move_cost [ALLOCNO_MODE (a)][best][aclass] at line