Re: standard calling convention for static function

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

 



On 04/12/17 14:20, David Livshin wrote:
> 
> Hello,
> 
> How to force gcc to conform to it standard calling convention while
> compiling static function?
> 

What are you trying to do here?  I'd imagine that any use of a static
function which /required/ standard calling conventions would ensure that
the function is generated as a normal stand-alone function (such as if
you pass its address to other code for use as a callback).  It is only
if the compiler knows all use of the function that it can do inlining,
partial inlining, or other "non-standard" manipulation.





[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