------- Comment #1 from burnus at gcc dot gnu dot org  2008-01-12 18:01 -------
gfortran does only create a check for ptr itself and not for ptr <->
constructor; the created check looks (with some temporary variables added) as
follows:
  if (prt.lbound < ptr.lbound || ptr.lbound > ptr.ubound)

(It were be also great if this would not be written by gfortran as it is rather
useless; though the middle end will remove it using -O.)


-- 


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

Reply via email to