http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59781
--- Comment #6 from janus at gcc dot gnu.org --- (In reply to janus from comment #5) > Here is a draft patch which seems to fix comment 1 to 3: Unfortunately it does produce a few failures in the coarray sector: FAIL: gfortran.dg/coarray/alloc_comp_1.f90 -fcoarray=single -O2 (internal compiler error) FAIL: gfortran.dg/coarray/lib_realloc_1.f90 -fcoarray=single -O2 (internal compiler error) FAIL: gfortran.dg/coarray/subobject_1.f90 -fcoarray=single -O2 (internal compiler error) FAIL: gfortran.dg/coarray_lib_realloc_1.f90 -O (internal compiler error)