public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/3733: using .data instead of .bss
@ 2001-07-19 3:16 ank
0 siblings, 0 replies; only message in thread
From: ank @ 2001-07-19 3:16 UTC (permalink / raw)
To: gcc-gnats
>Number: 3733
>Category: c++
>Synopsis: using .data instead of .bss
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jul 19 03:16:02 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: ank@nixu.fi (Alexander Krotov)
>Release: 3.0
>Organization:
>Environment:
FreeBSD 4.3
>Description:
Following simple code
char a[1000][1000];
Compiles to
.globl a
.data
.align 32
.type a,@object
.size a,1000000
a:
.zero 1000000
For some reason room for 'a' is allocated in .data instead
of .bss.
C (not C++) compiler is free of this problem.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-07-19 3:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-19 3:16 c++/3733: using .data instead of .bss ank
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).