------- Comment #4 from burnus at gcc dot gnu dot org 2008-01-17 17:26 ------- For cross reference the commit patch was: http://gcc.gnu.org/ml/fortran/2008-01/msg00197.html
Besides the previously mentioned problems, there is also the following: gfc_clear_ts (gfc_typespec *ts) [...] + if (ts->kind != -1) + ts->kind = 0; This causes a problem if *ts is uninitalized, which happens for instance in intrinsic.c's add_conv: gfc_typespec from, to; [...] gfc_clear_ts (&from); Assume now that the uninitialized memory contains "-1" ... (Found using valgrind which has dozens of warnings of the type "jump depends on uninitialized memory".) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34429