Ping: PR61629 (was Re: Delay RTL initialization until it is really needed)

2014-07-24 Thread Richard Sandiford
Ping. Originaly message was here: https://gcc.gnu.org/ml/gcc-patches/2014-07/msg01113.html Richard Sandiford rdsandif...@googlemail.com writes: Richard Sandiford rdsandif...@googlemail.com writes: Jan Hubicka hubi...@ucw.cz writes: Hi, IRA initialization shows high in profiles even when

Re: Ping: PR61629 (was Re: Delay RTL initialization until it is really needed)

2014-07-24 Thread Richard Biener
On Thu, Jul 24, 2014 at 8:57 AM, Richard Sandiford rdsandif...@googlemail.com wrote: Ping. Originaly message was here: https://gcc.gnu.org/ml/gcc-patches/2014-07/msg01113.html Ok. Thanks, Richard. Richard Sandiford rdsandif...@googlemail.com writes: Richard Sandiford

PR61629 (was Re: Delay RTL initialization until it is really needed)

2014-07-17 Thread Richard Sandiford
Richard Sandiford rdsandif...@googlemail.com writes: Jan Hubicka hubi...@ucw.cz writes: Hi, IRA initialization shows high in profiles even when building lto objects. This patch simply delays RTL backend initialization until we really decide to output a function. In some cases this avoids

Re: Delay RTL initialization until it is really needed

2014-07-16 Thread Richard Sandiford
Jan Hubicka hubi...@ucw.cz writes: Hi, IRA initialization shows high in profiles even when building lto objects. This patch simply delays RTL backend initialization until we really decide to output a function. In some cases this avoids the initialization completely (like in the case of LTO

Re: Delay RTL initialization until it is really needed

2014-07-16 Thread Jan Hubicka
This causes a segfault on gcc.target/mips/umips-store16-1.c. The register asm: register unsigned int global asm ($16); causes us to globalise $16 and call reinit_regs. reinit_regs in turn calls ira_init, but IRA hasn't been initialised at this point and prerequisites like

Re: Delay RTL initialization until it is really needed

2014-07-16 Thread Richard Sandiford
Jan Hubicka hubi...@ucw.cz writes: Index: gcc/toplev.c === --- gcc/toplev.c 2014-07-11 11:54:41.604838961 +0100 +++ gcc/toplev.c 2014-07-16 08:22:36.226034738 +0100 @@ -1604,6 +1604,10 @@ backend_init_target (void)

Re: Delay RTL initialization until it is really needed

2014-06-25 Thread Jan Hubicka
On 06/20/14 01:51, Jan Hubicka wrote: Hi, IRA initialization shows high in profiles even when building lto objects. This patch simply delays RTL backend initialization until we really decide to output a function. In some cases this avoids the initialization completely (like in the case

Re: Delay RTL initialization until it is really needed

2014-06-25 Thread Jeff Law
On 06/25/14 01:09, Jan Hubicka wrote: On 06/20/14 01:51, Jan Hubicka wrote: Hi, IRA initialization shows high in profiles even when building lto objects. This patch simply delays RTL backend initialization until we really decide to output a function. In some cases this avoids the

Re: Delay RTL initialization until it is really needed

2014-06-24 Thread Jeff Law
On 06/20/14 01:51, Jan Hubicka wrote: Hi, IRA initialization shows high in profiles even when building lto objects. This patch simply delays RTL backend initialization until we really decide to output a function. In some cases this avoids the initialization completely (like in the case of

Delay RTL initialization until it is really needed

2014-06-20 Thread Jan Hubicka
Hi, IRA initialization shows high in profiles even when building lto objects. This patch simply delays RTL backend initialization until we really decide to output a function. In some cases this avoids the initialization completely (like in the case of LTO but also user target attributes) and