Piotr Wyderski wrote:
Why isn't c destroyed at the very end? Is it a bug or a correct behaviour?
It is a bug. Where the bug lies depends on lots of info you left out,
such as the gcc version, the binutils version, and the target. See
http://gcc.gnu.org/bugs.html
for info on how to submi
I need to enforce a certain initialization and deinitialization order
of static variables in GCC, even between different translation units.
There is an extension called init_priority, which initializes my
variable first, but its deinitialization order is weird:
8<--