[Bug tree-optimization/20165] Pointer does not really escape with write

tkoenig at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jun 8 18:12:00 GMT 2009



------- Comment #5 from tkoenig at gcc dot gnu dot org  2009-06-08 18:12 -------
This also causes missed warnings about unitizialized variables:

$ cat foo.f
      print *,x
      end
$ gfortran -O3 -Wall -Wextra foo.f

We should have some way of marking that pointer as read-only.


-- 


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



More information about the Gcc-bugs mailing list