------- Comment #1 from burnus at gcc dot gnu dot org  2006-11-03 17:03 -------
A good introduction into restricted can be found at
http://developers.sun.com/sunstudio/articles/cc_restrict.html

Maybe this is something for the array implementation in gfortran?
I don't fully understand how the data part of arrays are used, but I would
assume they are pointers where the "restricted" part is not given.
As Fortran requires "target" for arrays to which a pointer may point, it should
be easy to add "restricted" in the non-target case; according to the article it
helps the compiler quit a bit to optimize - as "const" does.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29697

Reply via email to