------- Comment #3 from rahul at icerasemi dot com 2010-03-26 12:25 ------- The following test in 'rest_of_handle_reorder_blocks'
if ((flag_reorder_blocks || flag_reorder_blocks_and_partition) && optimize_function_for_speed_p (cfun)) { ... } suggests when optimize_size is true reordering would not run, even if I were to use -freorder-blocks as a command line option or a function attribute? I also just noticed PR41396 is related. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43515