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: Automaticly eliminating redundant zero initialisers


On Mon, 01 May 2000 08:19:29 -0600, Jeffrey A Law wrote:

    > My 2d is that some strange hackers like to edit binary files 
    > (ROM images etc) to change parameter values, and this is hard to
    > do if the variables in question live in the bss.  So if this
    > optimisation happens, can we have a way of turning it off ?
  Yup.  It doesn't even have to be a ROM image -- usually I've seen this kind
  of stuff used to twiddle debug variables.

This is what -fno-common is for, IIRC.



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