Common Tail Elimination

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Does gcc/g++ have what I think is called "common tail elimination"? If a function does: step a, step b, step c, return val; in more than one place, will the common code be pulled out and branched to in order to reduce the size of the code? This may be contrary to most optimizations since it introduces a branch which costs time but the benefit is smaller code size.

Thanks,
Perry


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux