This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH for optimization/6871
- From: Eric Botcazou <ebotcazou at libertysurf dot fr>
- To: Jason Merrill <jason at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 15 Mar 2003 09:12:16 +0100
- Subject: Re: PATCH for optimization/6871
- References: <wvlof4d4dvt.fsf@prospero.boston.redhat.com>
> A global variable such as
>
> const int i = 0;
>
> used to live in .rodata/.text. The recent BSS support work caused it to
> move to .bss, where it doesn't take up space in the executable. Ulrich
> points out in the PR that this is a bad idea for readonly variables, as in
> .rodata they can be shared between processes, but in .bss they take up
> space in each process.
I'm under the impression that high-priority PR inline-asm/9570 could somehow
be related to this problem.
--
Eric Botcazou