public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Duncan Sands <baldrick@free.fr>
To: Eric Botcazou <ebotcazou@adacore.com>
Cc: gcc-patches@gcc.gnu.org
Subject: Re: [Ada] Delete bogus use of flag_zero_initialized_in_bss
Date: Thu, 18 Mar 2010 14:06:00 -0000	[thread overview]
Message-ID: <4BA230DB.8060002@free.fr> (raw)
In-Reply-To: <201003162306.29494.ebotcazou@adacore.com>

Hi Eric,

>> On a linux system, the program loader will fill the BSS section with zeros.
>> So in both cases the global will be zero initialized.  What then is the
>> point of clearing flag_zero_initialized_in_bss?
>
> Not all Ada programs are meant to run on a linux system.

if I understand right you agree that clearing this flag is pointless on
linux (and probably many other) systems, but that it is simpler to clear
it everywhere rather than only on those systems that need it?

Ciao,

Duncan.

  reply	other threads:[~2010-03-18 13:55 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-16  8:58 Duncan Sands
2010-03-16  9:06 ` Eric Botcazou
2010-03-16  9:21   ` Duncan Sands
2010-03-16  9:34     ` Arnaud Charlet
2010-03-16  9:37       ` Duncan Sands
2010-03-16 10:20         ` Arnaud Charlet
2010-03-16 16:08     ` Eric Botcazou
2010-03-16 17:00       ` Duncan Sands
2010-03-16 22:26         ` Eric Botcazou
2010-03-18 14:06           ` Duncan Sands [this message]
2010-03-18 15:26             ` Eric Botcazou
2010-04-15 13:10               ` Florian Weimer
2010-04-15 16:59                 ` Eric Botcazou
2010-04-15 17:13                   ` Florian Weimer
2010-04-15 17:40                     ` Eric Botcazou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BA230DB.8060002@free.fr \
    --to=baldrick@free.fr \
    --cc=ebotcazou@adacore.com \
    --cc=gcc-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).