r189218 - Simplify now that -O4 just maps to -O3 and -O is an alias of -O2.

Sylvestre Ledru sylvestre at debian.org
Fri Sep 6 09:48:31 PDT 2013


On 03/09/2013 19:07, Rafael EspĂ­ndola wrote:
>> Ok, makes sense.  Those uses can use an explicit -O1 though :-)
> 
> Sure.
> 
>>> I haven't seen -O being used in wild, so I OK with keeping it mapping to -O2.
>>
>> I'd be curious to know how many files in a linux distro are built with -O.  I wouldn't be surprised if it is  5-10%.
> 
> Sylvestre might know how to answer that :-)
I run some statistics on some rebuild results that I have.

You were pessimist ;)
On 10320 binary packages, we have 269 packages using this option (2.6 %).


I detailed the results here:
http://sylvestre.ledru.info/blog/2013/09/06/about-optimization-flags-in-software

Sylvestre





More information about the cfe-commits mailing list