restrict in gcc 2.95.1

Alexandre Oliva aoliva@redhat.com
Tue Apr 3 01:13:00 GMT 2001


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



More information about the Gcc mailing list