https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81251

            Bug ID: 81251
           Summary: check of logical pointers
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: valeryweber at hotmail dot com
  Target Milestone: ---

Hi All

Would it be possible to have a check of the validity of logical pointers (like
for integer)?

many thanks

v

program test
  logical, pointer :: l
  if(l) then
     write(*,*) '0t'
  else
     write(*,*) '0f'
  endif
end program test

gfortran-trunk test.f90 -fcheck=all -g
./a.out
 0t

Reply via email to