------- Comment #5 from burnus at gcc dot gnu dot org 2008-12-09 17:28 ------- (In reply to comment #4) > For example, I tried to adapt the testcase in PR 33295 to the c_funloc case. > The resulting program is rejected with the following error: > Error: Can't convert TYPE(_gfortran_iso_c_binding_c_funptr) to TYPE(c_funptr) > at (1) > The question is: Is it valid/Do we want to support this?
I don't see why it should be invalid (though I have not spend too much time on finding a reason). It also compiles just fine with ifort and g95. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37829