This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH for optimization/6871


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]