------- Comment #5 from dfranke at gcc dot gnu dot org 2009-05-08 15:30 ------- You use 'float' in the C routines and 'REAL' in the fortran code. What their respective size? Is float always 4 byte in C? I think default-real-kind on win64 could be 8, not 4? Could also explain why it worked for Dominique, using the same kind everywhere?!
You could try and see if using USE ISO_C_BINDING REAL(C_FLOAT) instead of plain REAL makes a difference? -- dfranke at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dfranke at gcc dot gnu dot | |org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40070