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: Live range splitting in new allocator


On Wed, Jan 31, 2001 at 05:11:16PM +0100, Christian Iseli wrote:
> > Ummm, -finitialize-stack[=value] would seem to make more sense than
> > initialize-all, since you would not be initializing the statics or
> > globals (or possibly the registers).
> 
> Right.  IIRC, statics and globals are initialized to 0 by the system
> anyway (unless otherwise initialized in the code).
> 
> For the registers, I guess the function prologue could set them to
> the specified value at the same time as the stack...

That assumes there is a convenient method to set the call clobbered registers
(and call saved registers that are used) to a given value.  Some registers are
harder to set (for example fp registers on machines where you can't copy from
int registers to fp registers without going through memory).

-- 
Michael Meissner, Red Hat, Inc.  (GCC group)
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work:	  meissner@redhat.com		phone: +1 978-486-9304
Non-work: meissner@spectacle-pond.org	fax:   +1 978-692-4482

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