This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Deinitialization of globals


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]