Deinitialization of globals

Jim Wilson wilson@specifix.com
Thu Oct 20 23:43:00 GMT 2005


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 submit bug reports.

My first guess would be a linker script or binutils problem.

This testcase works as expected on x86 Fedora Core 4 by the way.
-- 
Jim Wilson, GNU Tools Support, http://www.specifix.com



More information about the Gcc mailing list