Storing specified variables in the same memory page!
lrtaylor@micron.com
lrtaylor@micron.com
Mon Oct 11 16:17:00 GMT 2004
Aren't local, non-static variables always stored on the stack? It
wouldn't make sense to me to put them anywhere else...
Thanks,
Lyle
-----Original Message-----
From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org] On
Behalf Of Vinay
Sent: Monday, October 11, 2004 10:03 AM
To: Sriharsha Vedurmudi
Cc: gcc-help@gcc.gnu.org
Subject: Re: Storing specified variables in the same memory page!
Hi Harsha,
But the variables I would like to specify can be local
also. I need a way by which I can specify any type of
variable and they must be stored in the same memory
page.
Thanks,
Vinay
--- Sriharsha Vedurmudi
<sriharsha.v@redpinesignals.com> wrote:
> Will global/static variables not be stored stored
> consistantly in one page?
>
> -Harsha
>
> Vinay wrote:
>
> >Hi,
> >
> >I would like to know if there is any way by which I
> >can inform the compiler to store certain variables
> in
> >the same memory page. This would really help my
> >project. If not possible, is there a way to change
> the
> >source code of GCC to implement the same.
> >
> >Thanks,
> >Vinay
> >
>
>_______________________________________________________________________
_
> >Yahoo! India Matrimony: Find your life partner
> online
> >Go to: http://yahoo.shaadi.com/india-matrimony
> >
> >
>
> --
> *****************************
> * Sriharsha Vedurmudi
> * Software Engineer
> *
> * Redpine Signals Inc.
> * Gate #395, Plot 87,88
> * Sagar Society, Road #2,
> * Banjara Hills,
> * Hyderabad - 500 034
> * www.redpinesignals.com
> *
> * +91-40-23559911 (Office)
> * +91-9849133133 (Mobile)
> *****************************
>
>
________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony
More information about the Gcc-help
mailing list