Re: Avoid applying inline plan for all functions ahead of late compilation

2014-11-19 Thread H.J. Lu
On Sat, Nov 15, 2014 at 11:15 PM, Jan Hubicka wrote: > Hi, > late in GCC 4.9 development we broke the feature that ltrans stages do not > read all > functions in ahead. This is because of late IPA passes that do not like to > see functions > without IPA transformations applied. I was originall

Re: Avoid applying inline plan for all functions ahead of late compilation

2014-11-17 Thread Richard Biener
On Sun, Nov 16, 2014 at 7:00 PM, Jan Hubicka wrote: >> >The patch also hits a bug in i386's ix86_set_current_function. It is >> >responsible >> >for initializing backend and it does so lazily remembering the previous >> >options >> >backend was initialized for. Pragma parsing however clears the ca

Re: Avoid applying inline plan for all functions ahead of late compilation

2014-11-16 Thread Jan Hubicka
> >The patch also hits a bug in i386's ix86_set_current_function. It is > >responsible > >for initializing backend and it does so lazily remembering the previous > >options > >backend was initialized for. Pragma parsing however clears the cache > >that leads > >to wrong settings being used for subs

Re: Avoid applying inline plan for all functions ahead of late compilation

2014-11-15 Thread Richard Biener
On November 16, 2014 8:15:37 AM CET, Jan Hubicka wrote: >Hi, >late in GCC 4.9 development we broke the feature that ltrans stages do >not read all >functions in ahead. This is because of late IPA passes that do not >like to see functions >without IPA transformations applied. I was originally OK

Avoid applying inline plan for all functions ahead of late compilation

2014-11-15 Thread Jan Hubicka
Hi, late in GCC 4.9 development we broke the feature that ltrans stages do not read all functions in ahead. This is because of late IPA passes that do not like to see functions without IPA transformations applied. I was originally OK with the solution based on fact that we have only IPA-PTA as