http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57987
--- Comment #1 from Martin Jambor <jamborm at gcc dot gnu.org> --- Created attachment 30558 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30558&action=edit An unsuccessful attempt to fix this I attempted to fix this with the attached patch but it fails some Fortran testcases: Tests that now fail, but worked before: gfortran.dg/coarray/registering_1.f90 -fcoarray=lib -O2 -lcaf_single (test for excess er rors) gfortran.dg/coarray/registering_1.f90 -fcoarray=single -O2 (test for excess errors) gfortran.dg/coarray/this_image_2.f90 -fcoarray=lib -O2 -lcaf_single (test for excess err ors) gfortran.dg/coarray_13.f90 -O0 (test for excess errors) gfortran.dg/coarray_13.f90 -O1 (test for excess errors) gfortran.dg/coarray_13.f90 -O2 (test for excess errors) gfortran.dg/coarray_13.f90 -O3 -fomit-frame-pointer (test for excess errors) gfortran.dg/coarray_13.f90 -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions (test for excess errors) gfortran.dg/coarray_13.f90 -O3 -fomit-frame-pointer -funroll-loops (test for excess erro rs) gfortran.dg/coarray_13.f90 -O3 -g (test for excess errors) gfortran.dg/coarray_13.f90 -Os (test for excess errors) New tests that FAIL: gfortran.dg/coarray/registering_1.f90 -fcoarray=lib -O2 -lcaf_single (internal compiler error) gfortran.dg/coarray/this_image_2.f90 -fcoarray=lib -O2 -lcaf_single (internal compiler e rror)