From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7903 invoked by alias); 1 May 2004 08:03:11 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 7895 invoked from network); 1 May 2004 08:03:10 -0000 Received: from unknown (HELO mail.libertysurf.net) (213.36.80.91) by sources.redhat.com with SMTP; 1 May 2004 08:03:10 -0000 Received: from localhost.localdomain (213.36.54.94) by mail.libertysurf.net (6.5.036) id 40912BC20036A649; Sat, 1 May 2004 09:59:08 +0200 Content-Type: text/plain; charset="iso-8859-1" From: Eric Botcazou To: Ian Lance Taylor Subject: Re: -fzero-initialized-in-bss again Date: Sat, 01 May 2004 08:03:00 -0000 User-Agent: KMail/1.4.3 Cc: kenner@vlsi1.ultra.nyu.edu (Richard Kenner), gcc@gcc.gnu.org References: <10404302000.AA05451@vlsi1.ultra.nyu.edu> In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200405011001.37075.ebotcazou@libertysurf.fr> X-SW-Source: 2004-05/txt/msg00003.txt.bz2 > Is the problem that -fzero-initialized-in-bss is causing a zero > initialized variable to become a common variable? Yes, precisely. > A BSS variable should not be a common variable. That would be wrong. That's what the Ada compiler does: all variables that would be put in .bss end up in .common if -fcommon is enabled. I guess we have to clarify a bit the relationship between Ada and .common then. -- Eric Botcazou