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

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kargl at gcc dot gnu.org

--- Comment #1 from kargl at gcc dot gnu.org 2011-06-03 16:29:12 UTC ---
What operating system?  

I get 

troutmask:sgk[272] gfc43 -c testcfopen.f90
testcfopen.f90:17.33:

PRINT '(I10)', file_struct%handle  ! I do not know what is in the structure or 
                                 1
Error: 'handle' at (1) is not a member of the 'c_ptr' structure

with 4.3.6, 4.4.7, 4.5.3, 4.6.1, and 4.7.0 on FreeBSD.  If I change
handle to a component within FreeBSD's FILE such as _blksize, I get

 testcfopen.f90:19.27:

PRINT '(I10)', file_struct%_blksize
                           1
Error: Expected structure component name at (1)

Reply via email to