This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

testcase help for fortran-experiments branch


hi all,

i believe i've fixed the bug in the bind(c) code that is shown on the wiki
page for the iso_c_binding features.  however, i'm trying to create a
dejagnu testcase for it and i'm having trouble getting the dg-error tags
correct.  i've attached the testcase and the output from gfortran.  any
help i could get would be appreciated.

i hope to create a new patch for these changes soon.  i've also changed
the way c_null_ptr and c_null_funptr work.  they are now compile-time
constant structures, which seems to have fixed the bug with C_PTR/C_FUNPTR
and the SAVE attribute since the structs no longer have a default
initializer.  i'll try and get this posted with the other fixes soon.

next i plan on looking at the errors/warnings issued with determining
whether a kind is C interoperable or not.

thanks for all of the help.
Chris

Attachment: bind_c_usage.f03
Description: Binary data

Attachment: bind_c_usage.out
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]