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 _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
