Re: execution order

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

 



> Would it be possible to do it dynamically?
>     class* p=new class;
>     other stuff;
>     delete p;
These kind of operations (malloc,free.new,delete) are not used at all because 
there is only a few memory :-( and the whole thing is compiled into a very 
few instructions.

I need some more tests, but it seems that the 'volatile' can resolve the 
problem. However, it switches off other optimizations too, so the affected 
code must be rewritten. :-(

Regards
K. Gy.

[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