Re: Avoid global optimize flag checks in LTO

2017-07-07 Thread Jan Hubicka
> On 7 July 2017 15:31:55 CEST, Jan Hubicka wrote: > >Hi, > >this patch fixes some places where we check global optimize flag rather > >than > >doing it per-function. This makes optimization attribute work closer to > >what one gets when passing the same flag at command line. > >This requires to r

Re: Avoid global optimize flag checks in LTO

2017-07-07 Thread Bernhard Reutner-Fischer
On 7 July 2017 15:31:55 CEST, Jan Hubicka wrote: >Hi, >this patch fixes some places where we check global optimize flag rather >than >doing it per-function. This makes optimization attribute work closer to >what one gets when passing the same flag at command line. >This requires to run IPA passes