RFA: Set default optimization level to -O2 for -flto

Basile Starynkevitch basile@starynkevitch.net
Fri Mar 19 14:58:00 GMT 2010


Michael Matz wrote:
> 
> I guess what I'm saying is, that there is no technical solution to this 
> problem (or at least the proposed one isn't), except perhaps encoding the 
> compile options (all of them) in some lto section, merging them in the 
> lto step over all units (hoping to not find conflicting options) and use 
> those.

Merging them is more ambitious than just issue a warning or error 
message if the compile options are not the same.

Cheers.

-- 
Basile STARYNKEVITCH         http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***



More information about the Gcc-patches mailing list