Re: Is a function actually inlined?

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

 



Hi Alex,

If you don't put in a request to optimize the code (e.g., -O2) they won't be inlined.  If I recall correctly.

Try:
g++ -O2 -fverbose-asm -save-temps t.cpp

The -fkeep-inline-functions flag might be useful, too.

HTH,
--Eljay



[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