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

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


Nick Clifton wrote:
> 
>   An alternative action would be to issue a warning message if -flto is
>   encountered without any optimization level also being set.  i am not
>   sure what people feel about this.

I don't have authority to approve anything, but my personal feeling is 
that make a warning -or perhaps even an error- at link time if the 
optimization is less than at compile time.

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