------- 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