------- Comment #2 from crickett at lanl dot gov 2007-07-18 20:18 ------- (In reply to comment #1)
> sym->ts has type BT_DERIVED, but yet sym->ts.derived is NULL. Maybe this > should > be set earlier, or maybe the test on (sym->ts.type == BT_DERIVED && > sym->ts.derived->components == NULL) just needs changing into (sym->ts.type == > BT_DERIVED && sym->ts.derived && sym->ts.derived->components == NULL). > > Christopher, any idea if this sym node is correct? > the sym node was incorrect. there is a simple error in generate_isocbinding_symbol that auto-generated c_funptr instead of the necessary c_ptr. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32801