[Bug fortran/20244] internal compiler error: in fold_convert, at fold-const.c:2003
paul dot richard dot thomas at cea dot fr
gcc-bugzilla@gcc.gnu.org
Tue Dec 13 12:50:00 GMT 2005
------- 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
More information about the Gcc-bugs
mailing list