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 wrote: > Ping. Originaly message was here: > > https://gcc.gnu.org/ml/gcc-patches/2014-07/msg01113.html Ok. Thanks, Richard. > Richard Sandiford writes: >> Richard Sandiford writes: >>> Jan Hubicka writes: Hi, >>> IRA initializa

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

2014-07-23 Thread Richard Sandiford
Ping. Originaly message was here: https://gcc.gnu.org/ml/gcc-patches/2014-07/msg01113.html Richard Sandiford writes: > Richard Sandiford writes: >> Jan Hubicka writes: >>> Hi, >> >>> IRA initialization shows high in profiles even when building lto >>> objects. This patch simply delays RTL

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

2014-07-17 Thread Richard Sandiford
Richard Sandiford writes: > Jan Hubicka 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

Re: Delay RTL initialization until it is really needed

2014-07-16 Thread Jan Hubicka
> Jan Hubicka 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-07-16 Thread Richard Sandiford
Jan Hubicka 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) >> on

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 i

Re: Delay RTL initialization until it is really needed

2014-07-16 Thread Richard Sandiford
Jan Hubicka 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 but also

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 initializat

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

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 LTO

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 t