------- Comment #1 from kargl at gcc dot gnu dot org 2010-08-05 15:46 ------- The problem also occurs with 4.6.0.
Note, if you remove the ', only : c_ptr' in NAG_J_TYPES, the code compiles and produces laptop:kargl[214] gfc4x -o z tr.f90 laptop:kargl[215] ./z C_ASSOCIATED = T ASSOCIATED = T So, there appears to be a problem with using an ONLY clause with ISO C binding. -- kargl at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2010-08-05 15:46:24 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45190