https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100799
--- Comment #19 from Surya Kumari Jangala <jskumari at gcc dot gnu.org> --- There is a keyword called BIND(C) which can be specified on a Fortran procedure to make it interoperable. I tried this keyword on DGEBAL fortran routine which is a part of the openblas library and it worked! I did not see any REG_EQUIV notes after the expand pass, and the final assembly did not have accesses to the caller's frame.