[Bug fortran/56138] Deferred-length character RESULT: ICE in gfc_add_modify_loc
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 30 13:49:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56138
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |ASSIGNED
Resolution|FIXED |
--- Comment #6 from Tobias Burnus <burnus at gcc dot gnu.org> 2013-01-30 13:49:27 UTC ---
REOPEN.
As Dominique showed (thanks!), this bug is not fixed. It is only fixed if the
function is 'contained' in another one (e.g. main program) or in a module.
Additionally, the gfortran.dg/allocatable_function_6.f90 also passes without
the patch.
Paul's patch fixes the issue (similarly to my original patch, which, however,
regressed).
As Paul's patch doesn't regress: OK with reverting my patch and changing the
test case to a noncontained procedure (plus interface block in the caller).
More information about the Gcc-bugs
mailing list