Confusing description of GCC option `-freorder-blocks'

Pengfei Yuan 0xcoolypf@gmail.com
Mon Dec 1 08:20:00 GMT 2014


Hi,

In https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html , the
description of option `-freorder-blocks' says `in order to reduce
number of taken branches and improve code locality'. It is confusing.
When will the `and' condition happen? That is, taken branches reduced
AND code locality improved.

Thanks!

YUAN, Pengfei



More information about the Gcc mailing list