This is the mail archive of the gcc@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]

Re: bss section not getting zero-initialised vars


Etienne LORRAIN wrote:
> unsigned global_variable;
> 
> void fct (void)
>   {
>   if (global_variable == 0)
>       global_variable = init_global_variable();
>   }

<ahem>, I write that sort of thing all the time :-)

-- Jamie

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