Re: [PATCH][RFC] Merge LTO -O options from compile-time

2014-03-04 Thread Jan Hubicka
> > This merges -O options given at compile-time into a single > optimization level to be used for LTO link time (but > overridden with whatever is specified at LTO link time - unless > no optimization level is specified there). That is, it > determines a "default" optimization level used at LTO

[PATCH][RFC] Merge LTO -O options from compile-time

2014-03-04 Thread Richard Biener
This merges -O options given at compile-time into a single optimization level to be used for LTO link time (but overridden with whatever is specified at LTO link time - unless no optimization level is specified there). That is, it determines a "default" optimization level used at LTO link time (a