------- Comment #14 from pault at gcc dot gnu dot org 2006-05-27 05:03 ------- (In reply to comment #12) > Are you using Tonto in SPEC CPU 2006? It is slightly different from Tonto 1.0 > on SF. The problem in Tonto in SPEC CPU 2006 is it uses something like
Ah, sorry HJ. You are right. > But nullify is never called on d before. Tonto compiled by gfortran may return > TRUE and abort. I checked Fortran standard. It isn't very clear if it is valid > Fortran code. > Stephen is correct on this. The fortran code should take care of this. However, it might be very convenient to NULL all pointers by default. Another issue, to which tonto is very sensitive, is that of chained component references ending in a pointer. Checking if the pointer is associated causes a segfault if one of the intermediate references is an unallocated pointer. I believe that other compilers check for this. Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27662