On 02/16/2012 05:33 PM, Jakub Jelinek wrote:
For just -O3 or -O2 -ftree-vectorize we could perhaps have some knob
in
the spec files to request those extra flags, for PGO it really requires
some work from the packager (but e.g. bash/grep/awk, perhaps perl/python
etc. would definitely improve, gcc itself is already built with PGO).
What kind of work? I have tried to build bash with added -O2
-ftree-vectorize -fprofile-generate, but the build fails with many
undefined reference to `__gcov_*.
You can see the build log in koji [1].
[1]
http://koji.fedoraproject.org/koji/getfile?taskID=3809343&name=build.log
RR