This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: restrict in gcc 2.95.1
- To: "Nadezhda I. Viyukova" <niva at niisi dot msk dot ru>
- Subject: Re: restrict in gcc 2.95.1
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 03 Apr 2001 05:13:26 -0300
- Cc: gcc at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <200104030737.LAA14516@niisi.msk.ru>
On Apr 3, 2001, "Nadezhda I. Viyukova" <niva@niisi.msk.ru> wrote:
> 1. Does gcc really provide optimizations related to restricted
> pointers or it only provides just formal support for the new
> keyword?
Only with -fstrict-aliasing, I believe.
> 2. Does RTL representation of a program contain information about
> memory accesses via restricted pointers?
The alias set number is represented in the second field of a MEM.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me