Force ret to be at the end of a function

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

 



Hello,

I notice that gcc sometimes places the "ret" instruction in the middle
of a function, or sometimes emits multiple "ret" instructions for a
function. For some reason, I wish that my gcc emits only one  "ret" at
the end of a function. Is there a gcc switch to force that without
disabling optimization?

Thank you,

Weiqin

[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