------- Comment #13 from paul dot richard dot thomas at cea dot fr 2005-12-13 12:50 ------- I am just now posting a patch for this bug.
Andrew, I ignored your advice, "All of the above need to be fixed in the front-end and not in the middle-end where fold_convert resides." by doing the fixing in the middle end. I found that a front-end fix, in resolve_symbol, got more than a little bit cumbersome. The simplest, by far, was to attack trans-types(gfc_get_derived_type) and to use the host + use associated backend declarations for the derived type, rather than building afresh in the contained namespace. Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20244
