This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Target specific memory attributes from RTL
- From: James E Wilson <wilson at specifixinc dot com>
- To: Balaji S <sivanbalaji at acmet dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 10 Mar 2005 13:18:23 -0800
- Subject: Re: Target specific memory attributes from RTL
- References: <4226A13F.509@acmet.com>
Balaji S wrote:
But, i'm not able to access target specific attribute from second level
of indirection onwards.
For example,
int **gpi ;
Note that in this case finding the target means indirecting through a
memory address, and hence we would have to track the attributes of all
memory locations which is a difficult and perhaps unsolvable problem.
As I said before, I think what you are trying to do is fundamentally
flawed. If you need attributes, you use them when generating RTL, not
when optimizing or emitting RTL.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com