------- Comment #7 from burnus at gcc dot gnu dot org 2010-01-09 09:12 ------- Subject: Bug 41298
Author: burnus Date: Sat Jan 9 09:11:53 2010 New Revision: 155755 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155755 Log: 2010-01-09 Tobias Burnus <bur...@net-b.de> PR fortran/41298 * trans-expr.c (gfc_trans_structure_assign): Handle c_null_(fun)ptr. * symbol.c (gen_special_c_interop_ptr): Add NULL_EXPR to the constructor for c_null_(fun)ptr. * resolve.c (resolve_structure_cons): Add special case for c_null_(fun)ptr. 2010-01-09 Tobias Burnus <bur...@net-b.de> PR fortran/41298 * gfortran.dg/c_ptr_tests_14.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/c_ptr_tests_14.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/resolve.c trunk/gcc/fortran/symbol.c trunk/gcc/fortran/trans-expr.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41298