public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Ian Lance Taylor <ian@wasabisystems.com>
To: Eric Botcazou <ebotcazou@act-europe.fr>
Cc: gcc@gcc.gnu.org
Subject: Re: -fzero-initialized-in-bss again
Date: Fri, 30 Apr 2004 21:39:00 -0000	[thread overview]
Message-ID: <m3zn8t2qt0.fsf@gossamer.airs.com> (raw)
In-Reply-To: <200404302109.55902.ebotcazou@act-europe.fr>

Eric Botcazou <ebotcazou@act-europe.fr> writes:

> We recently (after the 3.4.0 release, unfortunately) discovered that the 
> default option -fzero-initialized-in-bss has an annoying side-effect for the 
> Ada compiler: it may prevent the user from overriding an object in a library 
> (e.g. the runtime) by a local, slightly modified copy of the object.

Whether something like -fzero-initialized-in-bss is correct really
depends on language rules.  It sounds like the Ada compiler should
turn it off by default.  Or else the Ada compiler should default to
-fno-common; that is also a language rules issue.

Ian

  reply	other threads:[~2004-04-30 19:45 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-30 21:31 Eric Botcazou
2004-04-30 21:39 ` Ian Lance Taylor [this message]
     [not found] ` <jmad0txhey.fsf@desire.geoffk.org>
2004-05-01  7:33   ` Eric Botcazou
2004-04-30 21:46 Richard Kenner
2004-04-30 21:52 ` Ian Lance Taylor
2004-04-30 23:06   ` Richard Henderson
2004-05-01 14:54     ` Eric Botcazou
2004-05-01 17:46       ` Richard Henderson
2004-05-01  8:03   ` Eric Botcazou
2004-04-30 22:22 Richard Kenner
     [not found] <10404302228.AA06573@vlsi1.ultra.nyu.edu>
2004-05-01  8:20 ` Eric Botcazou
2004-05-01 12:13 Richard Kenner
2004-05-01 13:11 ` Eric Botcazou
2004-05-01 15:29 Richard Kenner
2004-05-01 16:18 ` Eric Botcazou
2004-05-01 18:13   ` Richard Henderson
2004-05-03  2:40 ` Ian Lance Taylor
2004-05-03 17:56 ` Geoff Keating
2004-05-03 18:00 Richard Kenner
2004-05-03 21:29 ` Gabriel Dos Reis

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=m3zn8t2qt0.fsf@gossamer.airs.com \
    --to=ian@wasabisystems.com \
    --cc=ebotcazou@act-europe.fr \
    --cc=gcc@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).