Re: Stack allocation skips vtable, optimalisation option?

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

 



Hi Daan,

Even with -O0, the compiler *KNOWS* that foo is a Foo (regardless of your
copy constructor shenanigans), and hence can call Foo::foo directly in main,
without using the vfntbl lookup.

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