using inline functions

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

 



I am studying c++ and use Turbo C 3.0 and gcc(djgpp2.9.5, mingw3.4.2).

To examine how the inline functions work, I used gcc/tcc -S source.cpp
command.

But when I made some functions inline,

tcc made it really inlined, and no CALL was made for the funtion.

but gcc didn't.

I googled the WEB and used '-finline-functions' option.

but it also didn't work.

With optimize level 3('-O3') , the result assembly code was too optimized to
reconize something.

(gcc removed all my test-purpose codes)


Is there any way to see the assembly code, '-O0' + '-finline-functions' ?

Thanks.

-- 
View this message in context: http://www.nabble.com/using-inline-functions-tp18248125p18248125.html
Sent from the gcc - Help mailing list archive at Nabble.com.


[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