Re: [5/9] Create sensible dummy registers

2015-05-22 Thread Jeff Law
On 05/22/2015 09:39 AM, Richard Sandiford wrote: Eric Botcazou writes: Some pieces of code create a temporary REG or MEM and only fill it in later when they're testing the cost of a particular rtx. This patch makes sure that even the dummy REG or MEM is valid, rather than force the gen_* code

Re: [5/9] Create sensible dummy registers

2015-05-22 Thread Richard Sandiford
Eric Botcazou writes: >> Some pieces of code create a temporary REG or MEM and only fill it >> in later when they're testing the cost of a particular rtx. This patch >> makes sure that even the dummy REG or MEM is valid, rather than force >> the gen_* code to handle garbage values. >> >> >> gcc

Re: [5/9] Create sensible dummy registers

2015-05-19 Thread Eric Botcazou
> Some pieces of code create a temporary REG or MEM and only fill it > in later when they're testing the cost of a particular rtx. This patch > makes sure that even the dummy REG or MEM is valid, rather than force > the gen_* code to handle garbage values. > > > gcc/ > * caller-save.c (ini

Re: [5/9] Create sensible dummy registers

2015-05-18 Thread Jeff Law
On 05/18/2015 12:21 PM, Richard Sandiford wrote: Some pieces of code create a temporary REG or MEM and only fill it in later when they're testing the cost of a particular rtx. This patch makes sure that even the dummy REG or MEM is valid, rather than force the gen_* code to handle garbage values

[5/9] Create sensible dummy registers

2015-05-18 Thread Richard Sandiford
Some pieces of code create a temporary REG or MEM and only fill it in later when they're testing the cost of a particular rtx. This patch makes sure that even the dummy REG or MEM is valid, rather than force the gen_* code to handle garbage values. gcc/ * caller-save.c (init_caller_save)