[Bug fortran/28908] [4.2 Regression]: fold_convert fails for Fortran operator

hjl at lucon dot org gcc-bugzilla@gcc.gnu.org
Wed Aug 30 19:40:00 GMT 2006

------- Comment #6 from hjl at lucon dot org  2006-08-30 19:40 -------
Before the change, gfc_get_derived_type will search a module to reuse
The current one will create a new TREE_TYPE for the same type. But fold_convert

  if (type == orig)
    return arg;

Although TYPE and ORIG are the same type, they have different memory locations.
fold_convert doesn't handle it.



More information about the Gcc-bugs mailing list