[Bug fortran/38160] C Binding: Kind parameter checking too strict and too late
kargl at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Nov 16 19:09:00 GMT 2008
------- Comment #1 from kargl at gcc dot gnu dot org 2008-11-16 19:08 -------
Here's the testcase from Tobias on IRC
use iso_c_binding
complex(c_double), target :: z
type(c_ptr) :: ptr
ptr = c_loc(z)
end
Note, the standard says that c_double and c_double_complex are the
same value, so the error message might be relaxed to a warning.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38160
More information about the Gcc-bugs
mailing list