Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Nov 2001 09:35:37 -0700
From:      Warner Losh <imp@harmony.village.org>
To:        freebsd@hoolan.org
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: c++ compiler allocates uninitialized global variable in .data section 
Message-ID:  <200111201635.fAKGZb785918@harmony.village.org>
In-Reply-To: Your message of "Tue, 20 Nov 2001 20:06:23 %2B0800." <Pine.BSF.4.05.10111162100300.28821-100000@hoolan.org> 
References:  <Pine.BSF.4.05.10111162100300.28821-100000@hoolan.org>  

next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.BSF.4.05.10111162100300.28821-100000@hoolan.org> freebsd@hoolan.org writes:
: I found that c++ compiler (4.4-RELEASE) allocates uninitialized global
: variable in the data section instead of the bss section. Here is my
: code sample (b.cpp):

I think this is a minor bug.  FreeBSD will move to 3.0 (or newer) for
5.0-RELEASE which will likely fix this issue.

Warner

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111201635.fAKGZb785918>