Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=904658 --- Comment #5 from Mamoru TASAKA <mtasaka@xxxxxxxxxxxxxxxxx> --- (In reply to comment #3) > Oh, I also see that -O3 makes the program run twice as fast as -O2 (at least > on my computer): make benchmark && ./benchmark. It's -fpredictive-commoning > and -ftree-vectorize that makes the difference. "-O2 -fpredictive-commoning > -ftree-vectorize" runs at the same speed as "-O3". Oh, https://fedoraproject.org/wiki/Packaging:Guidelines?rd=Packaging/Guidelines#Compiler_flags says "Overriding these flags for performance optimizations (for instance, -O3 instead of -O2) is generally discouraged. If you can present benchmarks that show a significant speedup for this particular code, this could be revisited on a case-by-case basis. " So as you kindly presented benckmarks, I can accept -O3 and -ffast-math. Still other Fedora specific compilation flags (such as -Wp,-D_FORTIFY_SOURCE=2 and so on) must be honored. -- You are receiving this mail because: You are on the CC list for the bug. Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=14FKp7jIQu&a=cc_unsubscribe _______________________________________________ package-review mailing list package-review@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/package-review