[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#710336: Please drop -O3



Hi,

On Fri, May 31, 2013 at 01:17:27AM +0200, Goswin von Brederlow wrote:
> -O3 should be used sparingly and selectively only for code that actualy
> benefits from it. In general -O3 often generates slower and bigger code and
> sometimes buggy code.

Brilliant idea. Tried that already months ago.

rene@SheevaPlug:~/tmp/graphite2-1.2.1$ grep -r O3 *
Binary file doc/glyph_string.png matches
Binary file tests/fonts/Padauk/Padauk.pdf matches
Binary file tests/fonts/MagyarLinLibertineG.ttf matches
Binary file tests/fonts/PigLatinBenchmark_v3.ttf matches
Binary file tests/fonts/charis_r_gr/charis_r_gr.pdf matches
Binary file tests/fonts/charis_r_gr/charis_r_src.ttf matches
Binary file tests/fonts/charis_r_gr.ttf matches
Binary file tests/fonts/general/lowerascii.ttf matches
Binary file tests/fonts/general.ttf matches
Binary file tests/fonts/Scheherazadegr.ttf matches
Binary file tests/fonts/MagyarLinLibertineG/doc/hu/magyarlinuxlibertine.pdf matches
Binary file tests/fonts/MagyarLinLibertineG/doc/fontfeatures.pdf matches
Binary file tests/fonts/grtest1gr.ttf matches
rene@SheevaPlug:~/tmp/graphite2-1.2.1$ 

and fiddling with whatever flag was responsible here for optimiuation
(which I don't remember anymore)  didn''t work back then either
(probably not enough enough cmake knowdlege..)

Regards,

Rene


Reply to: