Basic block reordering in GCC

Mahmood Naderan
Wed Aug 5 05:27:47 GMT 2020

Is it possible to modify the basic block reordering algorithm to call the next BB from another function? From what I have seen in -freorder-blocks and -freorder-blocks-algorithm and -freorder-fucntion, it seems that BBs are reordered inside functions, a.k.a intra-function reordering, and not between fucntions, a.k.a inter-functions. 
Any nore on that?


More information about the Gcc-help mailing list